GET
/
v2
/
checkout-sessions
Authorization
Query
curl --request GET \
  --url https://api.senddotssandbox.com/api/v2/checkout-sessions \
  --header 'Authorization: <authorization>'
{
  "data": [
    {
      "amount_total": "integer",
      "cancel_url": "string",
      "client_reference_id": "string",
      "created": "string",
      "customer_email": "string",
      "customer_id": "string",
      "expiry": "string",
      "id": "string",
      "line_items": [
        {
          "price_id": "string",
          "quantity": "integer"
        }
      ],
      "metadata": "object",
      "payment_intent_id": "string",
      "status": "open",
      "success_url": "string",
      "updated": "string"
    }
  ],
  "has_more": "boolean"
}

Authorizations

Authorizationheaderrequired
string

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

limit
string

A limit on the number of objects to be returned, between 1 and 100.

starting_after
string

A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with aaa, your subsequent call can include starting_after=aaa in order to fetch the next page of the list.

ending_before
string

A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with aaa, your subsequent call can include ending_before=aaa in order to fetch the previous page of the list.

Response

200 - application/json
data
object[]
has_more
boolean

true if there are more objects.