Get Payments
Get a list of payments sorted by creation date (most recent first)
The client sends HTTP requests with the Authorization header that contains the word Bearer followed by a space and the Shop Api Key.
The number of items to skip before starting to collect the result set. Default is 0.
The numbers of items to return. Default is 50.
If passed, return only payments created at or after the specified time
2021-10-13T10:26:18If passed, return only payments created strictly before the specified time
2021-10-13T10:39:34If passed, return only payments updated at or after the specified time
2021-10-13T10:26:18If passed, return only payments updated strictly before the specified time
2021-10-13T10:39:34If passed, return only payments with the requested referenceId
order-12345Payment List Response
Bad request
Unauthorized
GET /api/v1/payments HTTP/1.1
Host: engine-sandbox.convergegate.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"timestamp": "2020-10-07T13:36:32.595+00:00",
"status": 200,
"hasMore": true,
"result": [
{
"id": "91d27876e87f4b22b3ecd53924bf973d",
"referenceId": "payment-123",
"created": "2030-12-25T10:11:12",
"paymentType": "DEPOSIT",
"state": "PENDING",
"description": "Deposit via TEST shop",
"parentPaymentId": "91d27876e87f4b22b3ecd53924bf973d",
"paymentMethod": "BASIC_CARD",
"paymentMethodDetails": {
"customerAccountNumber": "400000***0002",
"cardToken": "3529d42227424875af8722cbf54d7073",
"cardholderName": "John Doe",
"cardExpiryMonth": "01",
"cardExpiryYear": "2030",
"cardBrand": "VISA",
"cardIssuingCountryCode": "CY"
},
"amount": 11.12,
"currency": "EUR",
"customerAmount": 15,
"customerCurrency": "USD",
"redirectUrl": "http://start/payment/6ccaa03cb2c242a68ce332f38fedfad7",
"errorCode": "4.01",
"errorMessage": "Insufficient Funds",
"externalResultCode": "03",
"customer": {
"referenceId": "customer_123",
"citizenshipCountryCode": "AU",
"firstName": "John",
"lastName": "Smith",
"dateOfBirth": "2001-12-03",
"email": "[email protected]",
"phone": "357 123123123",
"locale": "ru",
"accountNumber": "text",
"accountName": "text",
"accountType": "SAVINGS",
"bank": "text",
"bankCode": "text",
"bankBranch": "text",
"bankBranchCode": "text",
"documentType": "BR_CPF",
"documentNumber": "text",
"routingGroup": "VIP",
"kycStatus": true,
"paymentInstrumentKycStatus": true,
"dateOfFirstDeposit": "2021-01-01",
"depositsAmount": 5000,
"withdrawalsAmount": 1000,
"depositsCnt": 5000,
"withdrawalsCnt": 1000,
"ip": "152.13.130.125"
},
"billingAddress": {
"addressLine1": "7, Sunny street",
"addressLine2": "Office 3",
"city": "Limassol",
"countryCode": "CY",
"postalCode": "4141",
"state": "CA"
},
"startRecurring": true,
"preAuth": true,
"recurringToken": "text",
"terminalName": "text",
"externalFeeAmount": 15,
"externalFeeCurrency": "USD"
}
]
}Last updated