v2
latestOpenAPI 3.0.02026-08-0688139156.5 KBBilling
List billing credit memos
Returns credit memos and their complete line items for the authenticated account, newest first. All monetary amounts are in the currency's smallest unit.
get/v1/billing/credit-memo
Query parameters
offsetinteger
Starting index for pagination
limitinteger
Number of items to return for pagination
Response
OK
Example response
{
"data": [
{
"credit_memo_id": "cn_AbCdEfGhIjKlMn",
"currency": "usd",
"invoice_id": "in_AbCdEfGhIjKlMn",
"line_items": [
{
"device_ids": [
"d_0123456789ab"
],
"quantity": 1,
"sku": "sm_p0000z1s1cr1",
"subtotal_amount": 5000,
"tax_amount": 300,
"total_amount": 5300,
"unit_amount": 5000
}
],
"number": "CN-000123",
"subtotal_amount": 5000,
"tax_amount": 300,
"total_amount": 5300
}
],
"pagination": {
"next_offset": 10
}
}