GET /v1/credit-notes/{creditNoteId}
GET
/v1/credit-notes/{creditNoteId}Authorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
creditNoteIdstringrequiredmin length 1
Query parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Responses
200
Success
dataobjectrequiredShow propertiesHide properties
creditNoteobjectrequiredShow propertiesHide properties
creditNoteIdstringrequiredmin length 1
creditNoteNumberstringrequiredmin length 1
invoiceIdstringrequiredmin length 1
customerIdstringrequiredmin length 1
billingAccountIdstringrequiredmin length 1
statusstringrequiredAllowed:
draftfinalizedreasonstringrequiredAllowed:
duplicated_chargeproduct_unsatisfactoryorder_changeorder_cancellationfraudulent_chargeothercurrencystringrequiredmin length 1
subtotalnumberrequireddiscountAdjustmentTotalnumberrequiredtaxTotalnumberrequiredtotalnumberrequiredcreditAmountnumberrequiredrefundAmountnumberrequiredoffsetAmountnumberrequiredbalanceAmountnumberrequiredissuedAtstringrequiredmin length 1
metadataobjectrequiredsubscriptionIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfinalizedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulldescriptionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcreditStatusstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrefundStatusstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullbillingRefundIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpaymentsRefundIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrefundRequestedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrefundResolvedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulllinesobject[]requiredShow propertiesHide properties
Array of
objectcreditNoteLineIdstringrequiredmin length 1
creditNoteIdstringrequiredmin length 1
descriptionstringrequiredmin length 1
amountnumberrequiredcurrencystringrequiredmin length 1
metadataobjectrequiredinvoiceLineIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullbucketstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullwalletRecreditAmountnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullcashRefundAmountnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullinvoiceobjectrequiredShow propertiesHide properties
invoiceIdstringrequiredmin length 1
customerIdstringrequiredmin length 1
billingAccountIdstringrequiredmin length 1
statusstringrequiredAllowed:
draftopenpaidpartially_paidpast_duevoiduncollectiblecurrencystringrequiredmin length 1
subtotalnumberrequireddiscountTotalnumberrequiredtaxTotalnumberrequiredtotalnumberrequiredamountPaidnumberrequiredamountRemainingnumberrequiredmetadataobjectrequiredsubscriptionIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcreditNoteTotalnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullcustomerBalanceAppliedTotalnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullperiodStartAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullperiodEndAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullissuedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulldueAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfinalizedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullvoidedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcreatedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullupdatedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1