Get Consents List
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 Access token from POST /accesstoken, sent as Authorization: Bearer <token>.
In: header
Query Parameters
The start time to search for in a range, using the resource time_created value.
dateThe end time to search for in a range, using the resource time_created value.
dateA 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.
1 <= length <= 50The merchant's DBA (Doing Business As) name or the alternate name the merchant may be known as.
1 <= length <= 255Indicates 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"
The unique identifier generated by provider to trace the consent delivery process. Merchant will use this reference to launch the KONEK UI.
Status of the consent
Value in
- "INITIATED"
- "APPROVED"
- "CANCELLED"
- "DECLINED"
- "ACTIVE"
The total amount of the order across all items being purchased and all charges.
1 <= length <= 50The total tax amount associated with the order.
1 <= length <= 50First 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.
1 <= length <= 50The consent ID returned by provider. Merchant will use this reference to launch the KONEK UI.
Header Parameters
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" }}Close a Batch POST
Close a Batch without using the Global Payments Batch id Closing a batch results in commencement of funding to the merchant all the transactions in that batch. Here you can close the current open batch without the unique batch id. Availability of this feature in production depends on your allowed live configuration. Please contact Global Payments before coding this feature to confirm it will be available to you when you go live.
Create a Consent POST
Create a consent on the Global Payments system to obtain authorization from the payer, allowing Global Payments to collect, use, and disclose their personal information to initiate the payment process.