GET
/
v1
/
checkout-sessions
List Checkout Sessions
curl --request GET \
  --url https://api.monime.io/v1/checkout-sessions \
  --header 'Authorization: Bearer <token>' \
  --header 'Monime-Space-Id: <monime-space-id>'
{
  "success": true,
  "messages": [
    "<any>"
  ],
  "result": [
    {
      "id": "<string>",
      "name": "<string>",
      "reference": "<string>",
      "description": "<string>",
      "status": "pending",
      "redirectUrl": "<string>",
      "cancelUrl": "<string>",
      "successUrl": "<string>",
      "lineItems": {
        "data": [
          {
            "type": "custom",
            "id": "<string>",
            "name": "<string>",
            "price": {
              "currency": "<string>",
              "value": 123
            },
            "quantity": 1,
            "reference": "<string>",
            "description": "<string>",
            "images": [
              "<string>"
            ]
          }
        ]
      },
      "financialAccountId": "<string>",
      "brandingOptions": {
        "primaryColor": "<string>"
      },
      "expireTime": "2023-11-07T05:31:56Z",
      "createTime": "2023-11-07T05:31:56Z",
      "ownershipGraph": {
        "owner": {
          "id": "<string>",
          "type": "<string>",
          "metadata": {},
          "owner": {
            "id": "<string>",
            "type": "<string>",
            "metadata": {},
            "owner": {}
          }
        }
      },
      "metadata": {}
    }
  ],
  "pagination": {
    "count": 123,
    "next": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Monime-Space-Id
string
required

The value is the tenancy parameter that Monime uses to determine which space the request is intended for.

Maximum length: 64

Query Parameters

limit
integer
default:10

Maximum number of items to return in a single page. Must be between 1 and 50. Defaults to 10 if not specified.

Required range: 1 <= x <= 50
after
string | null

Pagination cursor for fetching the next page of results. Set this to the 'next' cursor value from a previous response to continue paginating forward.

Maximum length: 2000

Response

200 - application/json

OK

The response is of type object.