Consents

Get Consents List

GET
/consents

Get a list of Consents obtained previously with Global Payments using criteria passed in the query string. Page through the result set to access all records.

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /accesstoken, sent as Authorization: Bearer <token>.

In: header

Query Parameters

from_time_created?string

The start time to search for in a range, using the resource time_created value.

Formatdate
to_time_created?string

The end time to search for in a range, using the resource time_created value.

Formatdate
id?string

A unique identifier that is used to identify and reference an instance of this resource. It is generated by Global Payments to identify the transaction and must be used to action that transaction in future.

Length1 <= length <= 50
dba?string

The merchant's DBA (Doing Business As) name or the alternate name the merchant may be known as.

Length1 <= length <= 255
token_format?string

Indicates if the actual card number or a token is being used to process the transaction. * CARD_NUMBER - The value in the digital wallet token field is a real card number (PAN) * CARD_TOKEN - The value in the digital wallet token field is a temporary token in the format of a card number (PAN) but is not a real card number. * BANK_TRANSFER_TOKEN - The value in the digital wallet token field is a temporary token in the format of a card number (PAN) but is not a real card number.

Value in

  • "CARD_NUMBER"
  • "CARD_TOKEN"
  • "BANK_TRANSFER_TOKEN"
provider_reference?string

The unique identifier generated by provider to trace the consent delivery process. Merchant will use this reference to launch the KONEK UI.

status?string

Status of the consent

Value in

  • "INITIATED"
  • "APPROVED"
  • "CANCELLED"
  • "DECLINED"
  • "ACTIVE"
amount?string

The total amount of the order across all items being purchased and all charges.

Length1 <= length <= 50
tax_amount?string

The total tax amount associated with the order.

Length1 <= length <= 50
first_amount?string

First payment amount of the order. The amount can be 0 if order item payment_type contains RECURRING to support a scenario where other payment methods such as Gift Cards may be used for the initial payment Otherwise it must be a value greater than 0.

Length1 <= length <= 50
payment_method.digital_wallet.reference?string

The consent ID returned by provider. Merchant will use this reference to launch the KONEK UI.

Header Parameters

X-GP-Version*string

The version of the API to execute the request.

Response Body

application/json

curl -X GET "https://example.com/consents" \  -H "X-GP-Version: string"
{  "total_record_count": 0,  "current_page_size": 0,  "merchant_id": "MER_bab9fc0cf5ff4a3c9b454405cab8a5fe",  "merchant_name": "Nikita_Partner_Test_01",  "account_id": "TRA_f6539c0a6a3c4016853e2a3010e7bfd3",  "account_name": "Nikita_TRA_01",  "filter": {    "from_time_created": "2025-12-30T00:00:00.000Z",    "to_time_created": "2026-01-29T23:59:59.999Z"  },  "paging": {    "page_size": 5,    "page": 1,    "order": "DESC",    "order_by": "TIME_CREATED"  },  "consents": [    {      "id": "CON_c0cde1839bec40e289319c11b77e70c4",      "reference": "becf9f3e-4d33-459c-8ed2-0c4affc9555e",      "status": "ACTIVE",      "status_description": "Cancelled by - FI",      "dba": "ABC Ltd",      "device": {        "session_reference": "device_profile_session_id"      },      "order": {        "amount": "10000",        "currency": "CAD",        "tax_amount": "600",        "first_amount": "6000"      },      "payment_method": {        "digital_wallet": {          "provider": "KONEK",          "reference": "2ee5480308664428bef46d1094f22adc",          "provider_reference": "2ee5480308664428uytryuijh2adc",          "token_format": "CARD_TOKEN",          "masked_token_last4": "xxxxxxxxxxxx5560",          "masked_number_last4": "xxxxxxxxxxxx5262"        }      }    }  ],  "action": {    "id": "ACT_p7DmPzhhVP2IkEl5rujGSsxztzVSae",    "type": "CONSENT_LIST",    "time_created": "2026-01-29T19:46:42.910Z",    "result_code": "SUCCESS",    "app_id": "DAua5WpU5jjES2ZPjwdjqKDF75xUknQY",    "app_name": "Nikita Application 01"  }}