Settlement Reporting

Get a list of Deposit information

GET
/settlement/deposits

Get a list of Deposits using criteria passed in the query string. Page through the result set to access all records. 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.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Query Parameters

page?number

Indicates the page sequence to return in the response. The number of records presented on each page is determined by page_size field.1 means the first page, 2 the second and so on.

Default1
page_size?number

The total number of records to return in a single page for a list. The maximum this value can be is 1000, meaning that the maximum number of records to return in a single request is 1000.

Range1 <= value <= 1000
Default5
order?string

The direction of the ordering of the entire list, ASC or DESC

Value in

  • "ASC"
  • "DESC"
order_by?string

The field to order the list by.

Default"TIME_CREATED"
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 for the object created by Global Payments. The first 3 characters identifies the resource an id relates to.

Length1 <= length <= 50
status?string

Indicates where a resource object is in its life-cycle. *FUNDED - Deposit Funded to bank account *IRREG - Deposit not funded by Global Payments *RESERVED - Deposit on reserve.

*DELAYED - Deposit delayed for funding.

*RELEASED - Deposit released by Global Payments from a status of DELAYED

amount?string

The amount that should be credited or debited to a bank account, for a deposit. It is always represented in the lowest denomination of the related currency.

masked_account_number_last4?string

Data relating to a bank transfer directly to or from the Payer's bank account.

Length1 <= length <= 50
system.mid?string

Merchant Identifier from Global Payments system for some features.

Length1 <= length <= 50
system.hierarchy?string

Identifies the location of a merchant within the merchant's corporate hierarchical structure.

Length1 <= length <= 50
account_name*string

A meaningful label for the merchant account set by Global Payments.

Length1 <= length <= 50

Header Parameters

X-GP-Version*string

The version of the API to execute the request.

Length1 <= length <= 50
Default"2021-03-22"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/settlement/deposits?account_name=Settlement+Reporting" \  -H "X-GP-Version: 2021-03-22"
{  "total_record_count": 1000,  "current_page_size": 564,  "merchant_id": "Sandbox_merchant_2",  "merchant_name": "Sandbox_merchant_2",  "account_id": "TRA_86920f927028745yt34d077d88b",  "account_name": "Settlement_Reporting",  "filter": {    "from_time_created": "2022-05-01",    "to_time_created": "2023-05-01"  },  "paging": {    "page": 1,    "page_size": 5,    "order_by": "TIME_CREATED",    "order": "ASC"  },  "deposits": [    {      "id": "DEP_2342423423",      "time_created": "2021-05-03",      "status": "FUNDED",      "funding_type": "DEBIT",      "amount": "500",      "currency": "USD",      "aggregation_model": "4-No Summary",      "bank_transfer": {        "masked_account_number_last4": "string",        "bank": {          "code": "124002971"        }      },      "system": {        "mid": "string",        "hierarchy": "string",        "name": "MERCHANT ABC INC.",        "dba": "MERCHANT XYZ INC"      },      "sales": {        "count": 123,        "amount": "120"      },      "refunds": {        "count": 123,        "amount": "120"      },      "disputes": {        "chargebacks": {          "count": 123,          "amount": "120"        },        "reversals": {          "count": 123,          "amount": "120"        }      },      "discounts": {        "count": 123,        "amount": "120"      },      "fees": {        "amount": "120"      }    }  ],  "action": {    "id": "ACT_uzFr7t4VOqxdLDI44hHmXIjHtOOE8d",    "type": "DEPOSIT_SINGLE",    "time_created": "2021-05-03T21:23:39.718Z",    "result_code": "SUCCESS",    "app_id": "uzFr7t4VOqxdLDI44hHmXIjHtOOE8d",    "app_name": "my_lovely_app"  }}