POST /v1/payables
POST
/v1/payablesAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredQuery parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Header parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullsourceobjectrequiredShow propertiesHide properties
sourceTypestringrequiredAllowed:
document_payment_fieldone_time_invoiceexternal_recordsourceIdstringrequiredmin length 1
documentIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpaymentFieldIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerIdstringrequiredmin length 1
billingAccountIdstringrequiredmin length 1
lineItemsobject[]requiredShow propertiesHide properties
Array of
objectpriceIdstringrequiredmin length 1
taxablebooleanrequiredquantitynumber | nullShow propertiesHide properties
Any of:
number
numbernull
nulltaxClassificationKeystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmetadataobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullcollectionIntentstringrequiredAllowed:
manualautomaticpayableIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpaymentMethodIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulldueAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmetadataobject | nullShow propertiesHide properties
Any of:
object
objectnull
nulltenantIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltaxIdempotencyKeystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerTaxAddressobject | nullShow propertiesHide properties
Any of:
object
line1stringrequiredmin length 1
citystringrequiredmin length 1
regionstringrequiredmin length 1
postalCodestringrequiredmin length 1
countrystringrequiredmin length 1
line2string | nullShow propertiesHide properties
Any of:
string
stringnull
nullnull
nullcustomerTaxIdsobject[] | nullShow propertiesHide properties
Any of:
object[]
Array of
objecttypestringrequiredmin length 1
valuestringrequiredmin length 1
null
nullcustomerTypestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerTaxExemptboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nullcustomerTaxExemptionRefstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfallbackOnProviderUnavailableboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nulltaxIdValidationstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltaxIdUnverifiableTreatmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullshipFromAddressobject | nullShow propertiesHide properties
Any of:
object
line1stringrequiredmin length 1
citystringrequiredmin length 1
regionstringrequiredmin length 1
postalCodestringrequiredmin length 1
countrystringrequiredmin length 1
line2string | nullShow propertiesHide properties
Any of:
string
stringnull
nullnull
nulltaxBehaviorstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullclassificationKeystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullidempotencyKeystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
payableIdstringrequiredmin length 1
sourceobjectrequiredShow propertiesHide properties
sourceTypestringrequiredAllowed:
document_payment_fieldone_time_invoiceexternal_recordsourceIdstringrequiredmin length 1
documentIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpaymentFieldIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerIdstringrequiredmin length 1
billingAccountIdstringrequiredmin length 1
merchantAccountIdstringrequiredmin length 1
currencystringrequiredmin length 1
subtotalnumberrequiredtaxTotalnumberrequiredtotalnumberrequiredamountPaidnumberrequiredamountRemainingnumberrequiredtaxModestringrequiredAllowed:
not_taxabletaxable_requires_evidencestatusstringrequiredAllowed:
draftreadyawaiting_paymentpaidfailedcanceledrefundedreversedcollectionIntentstringrequiredAllowed:
manualautomaticfeePolicyobjectrequiredShow propertiesHide properties
policyIdstringrequiredmin length 1
ownerModestringrequiredAllowed:
merchant_pays_processingcustomer_pays_processingplatform_absorbs_processingplatform_fee_deductedplatformFeeobjectrequiredShow propertiesHide properties
Any of:
object
modestringrequiredShow propertiesHide properties
Any of:
string
stringobject
modestringrequiredShow propertiesHide properties
Any of:
string
stringamountnumberrequiredcurrencystringrequiredmin length 1
roundingstringrequiredShow propertiesHide properties
Any of:
string
stringobject
modestringrequiredShow propertiesHide properties
Any of:
string
stringbasisPointsnumberrequiredroundingstringrequiredShow propertiesHide properties
Any of:
string
stringsourceobjectrequiredShow propertiesHide properties
scopestringrequiredAllowed:
merchant_accountpayabledocument_payment_fieldproductscopeIdstringrequiredmin length 1
auditobjectrequiredShow propertiesHide properties
createdByTypestringrequiredAllowed:
systemoperatoradoptercreatedByRefstringrequiredmin length 1
reasonstringrequiredmin length 1
executionobjectrequiredShow propertiesHide properties
statusstringrequiredAllowed:
modeled_not_settlement_executedsettlement_executedstopConditionstringrequiredmin length 1
evidencestring[]requiredlineageobjectrequiredShow propertiesHide properties
invoiceIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpaymentRequestIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcheckoutLinkIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcheckoutSessionIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcheckoutUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulllatestPaymentAttemptIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulllatestPaymentIntentIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulllatestPaymentIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltaxEvidenceVersionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltaxTransactionIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcreditNoteIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrefundIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullstatusReasonstringrequiredmin length 1
operatorEvidencestring[]requiredmetadataobjectrequiredcreatedAtstringrequiredmin length 1
updatedAtstringrequiredmin length 1
dueAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1