POST /v1/billing/collect-invoice-payment
POST
/v1/billing/collect-invoice-paymentAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredHeader 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/jsonamountnumberrequiredbillingAccountIdstringrequiredmin length 1
currencystringrequiredmin length 1
customerProfileIdstringrequiredmin length 1
customerTaxAddressany | nullShow propertiesHide properties
Any of:
any
anynull
nullexternalInvoiceRefany | nullShow propertiesHide properties
Any of:
any
anynull
nullmetadataany | nullShow propertiesHide properties
Any of:
any
anynull
nullorganizationIdany | nullShow propertiesHide properties
Any of:
any
anynull
nullplatformFeeAmountany | nullShow propertiesHide properties
Any of:
any
anynull
nulltaxBehaviorany | nullShow propertiesHide properties
Any of:
any
anynull
nulltaxClassificationKeyany | nullShow propertiesHide properties
Any of:
any
anynull
nulltaxableany | nullShow propertiesHide properties
Any of:
any
anynull
nullenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullinvoiceIdstringrequiredmin length 1
paymentMethodIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullidempotencyKeystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
200
Success
dataobjectrequiredShow propertiesHide properties
invoiceIdstringrequiredmin length 1
paymentIntentIdstringrequiredmin length 1
paymentIdstringrequiredmin length 1
paymentStatusstringrequiredAllowed:
pendingrequires_actionauthorizedcapturedfailedcanceledreturnedrequiresActionbooleanrequirednextStepstringrequiredAllowed:
nonecomplete_required_actioncapturecancelretryhostedActionUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullnextActionTypestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1