checkout
Graphql fields and variables for the checkout mutation
Pay a Quote or an Invoice
Scope required: standard:write
mutation checkout ($payableId: ID!, $invoiceId: ID!, $quoteId: ID!, $paymentMethodId: ID!, $paymentMethodData: CheckoutPaymentMethodAttributes!) {
checkout (payableId: $payableId, invoiceId: $invoiceId, quoteId: $quoteId, paymentMethodId: $paymentMethodId, paymentMethodData: $paymentMethodData) {
invoice {
accountId
amount
amountDue
amountPaid
baseCurrencyId
baseCurrencyTotal
couponApplied
createdAt
credits
currencyId
description
dueAt
hasPaymentMethod
id
internalNotes
isLegacy
issuedAt
kind
netPaymentDays
notes
number
paidAt
payableId
paymentFailedAt
paymentFailureReason
poNumber
portalUrl
quoteId
sendInvoiceTo
smallUnitAmountDue
subtotal
taxAmount
taxRate
updatedAt
url
uuid
}
payment {
accountId
amount
amountUnapplied
baseCurrencyCash
baseCurrencyId
completedAt
conversionRate
createdAt
currencyId
description
errorCode
errorMessage
fees
id
isLegacy
memo
paymentProcessor
receivedAt
remoteTransactionId
startedAt
updatedAt
}
paymentApplication {
amount
createdAt
currencyId
id
invoiceId
memo
paymentId
paymentType
updatedAt
}
transaction {
accountId
amount
createdAt
currencyId
description
id
state
transactionableId
}
}
}Arguments
Name
Type
Description
Response
Name
Type
Description
Last updated
Was this helpful?
