Get Payments

Get payments

get

Get a list of payments sorted by creation date (most recent first)

Authorizations
Query parameters
offsetinteger · max: 1000000Optional

The number of items to skip before starting to collect the result set. Default is 0.

limitinteger · min: 1 · max: 1000Optional

The numbers of items to return. Default is 50.

created.gtestring · ISO 8601 (YYYY-MM-DD'T'HH24:MI:SS)Optional

If passed, return only payments created at or after the specified time

Example: 2021-10-13T10:26:18
created.ltstring · ISO 8601 (YYYY-MM-DD'T'HH24:MI:SS)Optional

If passed, return only payments created strictly before the specified time

Example: 2021-10-13T10:39:34
updated.gtestring · ISO 8601 (YYYY-MM-DD'T'HH24:MI:SS)Optional

If passed, return only payments updated at or after the specified time

Example: 2021-10-13T10:26:18
updated.ltstring · ISO 8601 (YYYY-MM-DD'T'HH24:MI:SS)Optional

If passed, return only payments updated strictly before the specified time

Example: 2021-10-13T10:39:34
referenceId.eqstringOptional

If passed, return only payments with the requested referenceId

Example: order-12345
Responses
200

Payment List Response

application/json
get
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
      },
      "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