Skip to main content
GET
/
tokens
/
{id}
/
payment-data
Get payment-data
curl --request GET \
  --url https://sandbox.hellgate.io/tokens/{id}/payment-data \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "amount": 1,
      "currency_code": "<string>",
      "merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "reference": "<string>",
      "success": true,
      "token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "encrypted_authentication_data": "<string>",
      "failure_details": [
        {
          "classifier": "<string>",
          "scheme_code": "<string>",
          "message": "<string>",
          "source": "scheme"
        }
      ]
    }
  ],
  "pagination": {
    "current_page": 1,
    "page_size": 1,
    "total_items": 1,
    "total_pages": 1
  }
}
Gated Feature

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string<uuid>
required

The ID of the Commerce token

Query Parameters

limit
integer

The desired amount of records per page. The parameter defaults to 50 if it is omitted and has a maximum of 500.

Required range: 1 <= x <= 500
page
integer

The desired number of the page to return.

Required range: x >= 1
sort
string

It allows sorting the result by created_at. e.g sort=created_at+asc or sort=created_at+desc

Response

Success response

data
object[]
pagination
object

The meta-data describing lists of data from the Commerce API. The pages are indexed from 1 up to the total_pages.

Example:
{
"current_page": 1,
"page_size": 1,
"total_items": 1,
"total_pages": 1
}