pay.tech API (1.0.345)

Download OpenAPI specification:

License: Apache-2.0

Merchant API

Payments

Payments API

Get payments

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

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

created.gte
string <ISO 8601 (YYYY-MM-DD'T'HH24:MI:SS)>
Example: created.gte=2025-10-12T10:26:18

Return only payments created at or after the specified time. Default is beginning of the current day.

created.lt
string <ISO 8601 (YYYY-MM-DD'T'HH24:MI:SS)>
Example: created.lt=2025-10-13T10:39:34

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

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Operations

Payment operations API

Get payment operations

Get a list of payment operations sorted by completion date (most recent first)

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

completed.gte
string <ISO 8601 (YYYY-MM-DD'T'HH24:MI:SS)>
Example: completed.gte=2025-10-12T10:26:18

Return only operations completed at or after the specified time. Default is beginning of the current day.

completed.lt
string <ISO 8601 (YYYY-MM-DD'T'HH24:MI:SS)>
Example: completed.lt=2025-10-13T10:39:34

If passed, return only operations completed strictly before the specified time

operation.in
string
Example: operation.in=CREATE_PAYMENT,CHECKOUT,CANCEL

Comma-separated list of operations

paymentState.in
string
Example: paymentState.in=CHECKOUT,COMPLETED,DECLINED

Comma-separated list of payment states after operation completion

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Counterparties

Counterparties API

Get counterparties

Get all counterparties

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "result": [
    ]
}

Shops

Shops API

Get merchants shops

Get all merchants shops

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "result": [
    ]
}

Get shop groups

Get a paginated list of shop groups.

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Terminals

Terminals API

Get terminal balance

Get terminal balance by terminal Id

Authorizations:
BasicAuth
path Parameters
terminalId
required
integer

Terminal Id

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "result": {
    }
}

Get merchants terminals

Get all merchant terminals

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "result": [
    ]
}

Balances

Balances API

Get balances

Get a list of all merchant balances in the Financial Module. For more detailed information, please contact our support team.

Authorizations:
BasicAuth

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "result": [
    ]
}

Get balances available for withdrawals via the gateway API

Get balances available for withdrawals via the gateway API. See the "Check Withdrawal Balance" section in the shop settings.

Authorizations:
BasicAuth

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "result": [
    ]
}

BINs

BINs API

Get BINs

Get a paginated list of BINs

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Get BIN groups

Get a paginated list of BIN groups

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Get BINs from a BIN group

Get a paginated list of BINs belonging to the specified BIN group

Authorizations:
BasicAuth
path Parameters
groupId
required
integer

BIN Group Id

query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Customers

Customers API

Get customers

Get a paginated list of customers.

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

shopId.eq
integer

The id of a shop to which the customers belong. Default is null, which means all shops.

id.gt
integer

The customer ID after which to start collecting the result set. Default is null, which means result set collection starts with the first customer.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Emails

Email Groups API

Get email groups

Get a paginated list of email groups

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Get emails from an email group

Get a paginated list of email addresses belonging to the specified email group

Authorizations:
BasicAuth
path Parameters
groupId
required
integer

Email Group Id

query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{}

Add emails to an email group

Add one or more email addresses to the specified email group. Requires "Edit Shops" permission.

Authorizations:
BasicAuth
path Parameters
groupId
required
integer

Email Group Id

Request Body schema: application/json
required
emails
required
Array of strings <email> non-empty [ items <email > ]

List of email addresses to add to the group

Responses

Request samples

Content type
application/json

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:32:19.444+00:00",
  • "status": 400,
  • "error": "Bad Request",
  • "message": "string",
  • "errors": [
    ],
  • "path": "/merchant-api/v1/payments"
}

Cards

Card Groups API

Get card groups

Get a paginated list of card groups

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Get cards from a card group

Get a paginated list of masked card PANs belonging to the specified card group

Authorizations:
BasicAuth
path Parameters
groupId
required
integer

Card Group Id

query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Add cards to a card group

Add one or more card numbers to the specified card group. Requires "Edit Shops" permission. For masked card groups, card numbers must contain at least the first 6 and last 4 digits.

Authorizations:
BasicAuth
path Parameters
groupId
required
integer

Card Group Id

Request Body schema: application/json
required
cardNumbers
required
Array of strings non-empty

List of card numbers to add to the group. For masked card groups, each entry must start with at least 6 digits and end with 4 digits.

Responses

Request samples

Content type
application/json
{
  • "cardNumbers": [
    ]
}

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:32:19.444+00:00",
  • "status": 400,
  • "error": "Bad Request",
  • "message": "string",
  • "errors": [
    ],
  • "path": "/merchant-api/v1/payments"
}

Countries

Country Groups API

Get country groups

Get a paginated list of country groups

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Connectors

Connectors API

Get connectors

Get a paginated list of shop connectors

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Anti-Fraud

Anti-Fraud Profiles API

Get anti-fraud profiles

Get a paginated list of anti-fraud profiles

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Currency Rates

Currency Rates API

Get currency rates

Get a paginated list of currency exchange rates

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Bank Codes

Bank Codes API

Get bank codes

Get a paginated list of bank codes

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Get bank code mappings

Get a paginated list of bank code mappings

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}

Error Code Groups

Error Code Groups API

Get error code groups

Get a paginated list of error code groups

Authorizations:
BasicAuth
query Parameters
offset
integer [ 0 .. 1000000 ]

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

limit
integer [ 1 .. 10000 ]

The numbers of items to return. Default is 50.

Responses

Response samples

Content type
application/json
{
  • "timestamp": "2025-10-07T13:36:32.595+00:00",
  • "status": 200,
  • "hasMore": true,
  • "result": [
    ]
}