GET /v1/invoices/{invoiceId}/collection
GET
/v1/invoices/{invoiceId}/collectionAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
invoiceIdstringrequiredmin length 1
Query parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Responses
200
Success
dataobjectrequiredShow propertiesHide properties
attemptsobject[]requiredShow propertiesHide properties
Array of
objectattemptIdstringrequiredmin length 1
invoiceIdstringrequiredmin length 1
billingAccountIdstringrequiredmin length 1
statusstringrequiredAllowed:
pendingrequires_actionsucceededfailedcanceledrefundedrequestedAmountnumberrequiredcollectedAmountnumberrequiredmetadataobjectrequiredcreatedAtstringrequiredmin length 1
paymentIntentIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpaymentIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfailureReasonstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullresolvedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullallocationsobject[]requiredShow propertiesHide properties
Array of
objectallocationIdstringrequiredmin length 1
invoiceIdstringrequiredmin length 1
paymentIdstringrequiredmin length 1
amountnumberrequiredallocatedAtstringrequiredmin length 1
requestIdstringrequiredmin length 1