Merchant API
Introduction
Merchant API
Authentication
- HTTP: Basic Auth
Use your merchant dashboard credentials (email and password) as username and password for Basic Authorization.
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | basic |
License
Apache 2.0
Get payments
GET/merchant-api/v1/payments
Get a list of payments sorted by creation date (most recent first)
Request
Responses
- 200
- 400
- 401
Payment List Response
Bad request
Unauthorized
Examples
Get payment operations
GET/merchant-api/v1/operations
Get a list of payment operations sorted by completion date (most recent first)
Request
Responses
- 200
- 400
- 401
Operation List Response
Bad request
Unauthorized
Examples
Get counterparties
GET/merchant-api/v1/counterparties
Get all counterparties
Request
Responses
- 200
- 401
- 404
Get Counterparties Response
Unauthorized
Not Found
Examples
Get merchants shops
GET/merchant-api/v1/shops
Get all merchants shops
Request
Responses
- 200
- 400
- 401
- 403
- 404
Get Shops Response
Bad request
Unauthorized
Forbidden
Not Found
Examples
Get terminal balance
GET/merchant-api/v1/terminals/:terminalId/balance
Get terminal balance by terminal Id (Applicable only to the Terminals that support the BALANCE operation).
Request
Responses
- 200
- 401
- 404
Balance Response
Unauthorized
Not Found
Examples
Get merchants terminals
GET/merchant-api/v1/terminals
Get all merchant terminals
Request
Responses
- 200
- 401
- 403
- 404
Get Terminals Response
Unauthorized
Forbidden
Not Found
Examples
Get balances
GET/merchant-api/v1/balances
Get a list of all merchant balances in the Financial Module. For more detailed information, please contact our support team.
Responses
- 200
- 401
Balance List Response
Unauthorized
Examples
Get balances available for withdrawals via the gateway API
GET/merchant-api/v1/available-withdrawal-balances
Get balances available for withdrawals via the gateway API. See the "Check Withdrawal Balance" section in the shop settings.
Responses
- 200
- 401
- 403
Available Withdrawal Balances List Response
Unauthorized
Forbidden
Examples
Get BINs
GET/merchant-api/v1/bins
Get a paginated list of BINs
Request
Responses
- 200
- 400
- 401
BIN List Response
Bad request
Unauthorized
Examples
Get BIN groups
GET/merchant-api/v1/bin-groups
Get a paginated list of BIN groups
Request
Responses
- 200
- 400
- 401
BIN Group List Response
Bad request
Unauthorized
Examples
Get BINs from a BIN group
GET/merchant-api/v1/bin-groups/:groupId
Get a paginated list of BINs belonging to the specified BIN group
Request
Responses
- 200
- 400
- 401
- 404
BIN Group Items Response
Bad request
Unauthorized
Not Found
Examples
Add BINs to a BIN group
POST/merchant-api/v1/bin-groups/:groupId/bins
Add one or more BIN values to the specified BIN group. Requires SHOP_EDIT permission.
Request
Responses
- 201
- 400
- 401
- 403
- 404
BINs successfully added
Bad request
Unauthorized
Forbidden
Not Found
Examples
Delete BINs from a BIN group
DELETE/merchant-api/v1/bin-groups/:groupId/bins
Delete one or more BIN values from the specified BIN group. Requires SHOP_EDIT permission.
Request
Responses
- 204
- 400
- 401
- 403
- 404
BINs successfully deleted
Bad request
Unauthorized
Forbidden
Not Found
Examples
Get customers
GET/merchant-api/v1/customers
Get a paginated list of customers.
Request
Responses
- 200
- 400
- 401
- 403
Customer List Response
Bad request
Unauthorized
Forbidden
Examples
Get shop groups
GET/merchant-api/v1/shop-groups
Get a paginated list of shop groups.
Request
Responses
- 200
- 400
- 401
- 403
Shop Group List Response
Bad request
Unauthorized
Forbidden
Examples
Get a shop group
GET/merchant-api/v1/shop-groups/:groupId
Get the specified shop group with its shops. Requires SHOP_GROUP_VIEW permission.
Request
Responses
- 200
- 401
- 403
- 404
Shop Group Response
Unauthorized
Forbidden
Not Found
Examples
Add shops to a shop group
POST/merchant-api/v1/shop-groups/:groupId/shops
Add one or more shops to the specified shop group. Requires SHOP_GROUP_EDIT permission.
Request
Responses
- 201
- 400
- 401
- 403
- 404
Shops successfully added
Bad request
Unauthorized
Forbidden
Not Found
Examples
Delete shops from a shop group
DELETE/merchant-api/v1/shop-groups/:groupId/shops
Delete one or more shops from the specified shop group. Requires SHOP_GROUP_EDIT permission.
Request
Responses
- 204
- 400
- 401
- 403
- 404
Shops successfully deleted
Bad request
Unauthorized
Forbidden
Not Found
Examples
Get email groups
GET/merchant-api/v1/email-groups
Get a paginated list of email groups
Request
Responses
- 200
- 400
- 401
Email Group List Response
Bad request
Unauthorized
Examples
Get emails from an email group
GET/merchant-api/v1/email-groups/:groupId
Get a paginated list of email addresses belonging to the specified email group
Request
Responses
- 200
- 400
- 401
- 404
Email Group Items Response
Bad request
Unauthorized
Not Found
Examples
Add emails to an email group
POST/merchant-api/v1/email-groups/:groupId/emails
Add one or more email addresses to the specified email group. Requires "Edit Shops" permission.
Request
Responses
- 201
- 400
- 401
- 403
- 404
Emails added successfully
Bad request
Unauthorized
Forbidden
Not Found
Examples
Delete emails from an email group
DELETE/merchant-api/v1/email-groups/:groupId/emails
Delete one or more email addresses from the specified email group. Requires SHOP_EDIT permission.
Request
Responses
- 204
- 400
- 401
- 403
- 404
Emails successfully deleted
Bad request
Unauthorized
Forbidden
Not Found
Examples
Get card groups
GET/merchant-api/v1/card-groups
Get a paginated list of card groups
Request
Responses
- 200
- 400
- 401
Card Group List Response
Bad request
Unauthorized
Examples
Get cards from a card group
GET/merchant-api/v1/card-groups/:groupId
Get a paginated list of masked card PANs belonging to the specified card group
Request
Responses
- 200
- 400
- 401
- 404
Card Group Items Response
Bad request
Unauthorized
Not Found
Examples
Add cards to a card group
POST/merchant-api/v1/card-groups/:groupId/cards
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.
Request
Responses
- 201
- 400
- 401
- 403
- 404
Cards added successfully
Bad request
Unauthorized
Forbidden
Not Found
Examples
Get country groups
GET/merchant-api/v1/country-groups
Get a paginated list of country groups
Request
Responses
- 200
- 400
- 401
Country Group List Response
Bad request
Unauthorized
Examples
Get a country group
GET/merchant-api/v1/country-groups/:groupId
Get the specified country group with its countries
Request
Responses
- 200
- 401
- 404
Country Group Response
Unauthorized
Not Found
Examples
Add countries to a country group
POST/merchant-api/v1/country-groups/:groupId/countries
Add one or more countries to the specified country group. Requires SETTINGS_EDIT permission.
Request
Responses
- 201
- 400
- 401
- 403
- 404
Countries successfully added
Bad request
Unauthorized
Forbidden
Not Found
Examples
Delete countries from a country group
DELETE/merchant-api/v1/country-groups/:groupId/countries
Delete one or more countries from the specified country group. Requires SETTINGS_EDIT permission.
Request
Responses
- 204
- 400
- 401
- 403
- 404
Countries successfully deleted
Bad request
Unauthorized
Forbidden
Not Found
Examples
Get connectors
GET/merchant-api/v1/connectors
Get a paginated list of shop connectors
Request
Responses
- 200
- 400
- 401
Connector List Response
Bad request
Unauthorized
Examples
Get anti-fraud profiles
GET/merchant-api/v1/antifraud-profiles
Get a paginated list of anti-fraud profiles
Request
Responses
- 200
- 400
- 401
- 403
Anti-Fraud Profile List Response
Bad request
Unauthorized
Forbidden
Examples
Get currency rates
GET/merchant-api/v1/currency-rates
Get a paginated list of currency exchange rates
Request
Responses
- 200
- 400
- 401
- 403
Currency Rate List Response
Bad request
Unauthorized
Forbidden
Examples
Get bank codes
GET/merchant-api/v1/bank-codes
Get a paginated list of bank codes
Request
Responses
- 200
- 400
- 401
- 403
Bank Code List Response
Bad request
Unauthorized
Forbidden
Examples
Get bank code mappings
GET/merchant-api/v1/bank-code-mappings
Get a paginated list of bank code mappings
Request
Responses
- 200
- 400
- 401
- 403
Bank Code Mapping List Response
Bad request
Unauthorized
Forbidden
Examples
Get error code groups
GET/merchant-api/v1/error-code-groups
Get a paginated list of error code groups
Request
Responses
- 200
- 400
- 401
- 403
Error Code Group List Response
Bad request
Unauthorized
Forbidden
Examples
Get an error code group
GET/merchant-api/v1/error-code-groups/:groupId
Get the specified error code group with its error codes. Requires SHOP_EDIT permission.
Request
Responses
- 200
- 401
- 403
- 404
Error Code Group Response
Unauthorized
Forbidden
Not Found
Examples
Add error codes to an error code group
POST/merchant-api/v1/error-code-groups/:groupId/error-codes
Add one or more error codes to the specified error code group. Requires SHOP_EDIT permission.
Request
Responses
- 201
- 400
- 401
- 403
- 404
Error codes successfully added
Bad request
Unauthorized
Forbidden
Not Found
Examples
Delete error codes from an error code group
DELETE/merchant-api/v1/error-code-groups/:groupId/error-codes
Delete one or more error codes from the specified error code group. Requires SHOP_EDIT permission.
Request
Responses
- 204
- 400
- 401
- 403
- 404
Error codes successfully deleted
Bad request
Unauthorized
Forbidden
Not Found