Skip to Content
API ReferenceInvoices

Retrieve an invoice

Retrieve an invoice by its ID to check its current payment and delivery state.

Retrieve an invoice by its ID to check its current payment and delivery state.

GET
/v2/invoices/{invoice}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

invoice*integer

The invoice path parameter.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X GET 'https://sell.app/api/v2/invoices/1' \  -H 'X-STORE: launch-lab'
{  "data": {    "id": 1,    "payment": {      "fee": {        "base": "0",        "currency": "USD",        "units": 1,        "vat": 0,        "total": {          "exclusive": "0",          "inclusive": "0"        }      },      "gateway": {        "data": {          "total": {            "base": "1999",            "currency": "USD",            "units": 1,            "vat": 0,            "total": {              "exclusive": "1999",              "inclusive": "1999"            }          },          "customer_email": "ethan.brooks@example.com",          "transaction_id": "CQEGF35V"        },        "type": "COINBASE"      },      "subtotal": {        "base": "1999",        "currency": "USD",        "units": 1,        "vat": 0,        "total": {          "exclusive": "1999",          "inclusive": "1999"        }      },      "expires_at": "2024-01-09T23:50:11.000000Z",      "full_price": {        "base": "1999",        "currency": "USD",        "units": 1,        "vat": 0,        "total": {          "exclusive": "1999",          "inclusive": "1999"        }      },      "original_amount": {        "base": "1999",        "currency": "USD",        "units": 1,        "vat": 0,        "total": {          "exclusive": "1999",          "inclusive": "1999"        }      },      "refund_currency": null,      "refunded_total_cents": 0    },    "status": {      "history": [        {          "setAt": "2024-01-09T14:50:11.000000Z",          "status": "PENDING",          "updatedAt": "2024-01-09T18:00:50.000000Z"        }      ],      "status": {        "setAt": "2024-01-09T18:00:50.000000Z",        "status": "COMPLETED",        "updatedAt": "2024-01-09T18:00:50.000000Z"      }    },    "webhooks": [],    "feedback": "",    "created_at": "2024-01-09T14:50:11.000000Z",    "updated_at": "2024-01-09T18:00:50.000000Z",    "store_id": 1,    "coupon_id": null,    "subscription_id": null,    "customer_information": {      "id": 123,      "email": "ethan.brooks@example.com",      "country": "Germany",      "location": "Munich",      "ip": "1.3.3.7",      "proxied": false,      "browser_agent": "Mozilla/4.9 (Windows 98; sl-SI; rv:1.9.1.20) Gecko/20110422 Firefox/21.0",      "vat": {        "amount": "0",        "country": "DE"      },      "discord_data": null,      "billing_details": null    },    "product_variants": [      {        "id": 117214,        "product_id": 97850,        "title": "Store Credits"      }    ]  }}