Billing

List billing credit memos

Changed on

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

Request

  • Base URL
    https://api.slide.tech
  • URL
    https://api.slide.tech/v1/billing/credit-memo
  • Auth
    HTTP bearer

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
  }
}

Changes