Skip to main content

Gateway API

Version: 1.0.371

Introduction​

Gateway API

Authentication​

The client sends HTTP requests with the Authorization header that contains the word Bearer followed by a space and the Shop Api Key.

Security Scheme Type:

http

HTTP Authorization Scheme:

bearer

License

Apache 2.0

Get payments​

GET 

/api/v1/payments

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

Request​

Responses​

Payment List Response

Examples

Create payment​

POST 

/api/v1/payments

Payment request, used for DEPOSITS, WITHDRAWALS and REFUNDS

Request​

Responses​

Payment response

Examples

Find payment​

GET 

/api/v1/payments/:id

Find payment by Id

Request​

Responses​

Payment Response

Examples

Execute deposit​

PATCH 

/api/v1/payments/:id

Execute deposit without customer redirection to gateway checkout page. Consult with support team before using this method.

Request​

Responses​

Payment Response

Examples

Capture payment​

POST 

/api/v1/payments/:id/capture

Capture a Pre-Authorized payment fully or partially. Only a payment in AUTHORIZED state can be captured.

Request​

Responses​

Payment response

Examples

Void payment​

POST 

/api/v1/payments/:id/void

Void a Pre-Authorized payment. Only a payment in AUTHORIZED state can be voided. The payment will be transferred to CANCELLED state and will no longer be available for capturing.

Request​

Responses​

Payment response

Examples

Register chargeback​

POST 

/api/v1/payments/:id/chargebacks

Register a chargeback for a completed deposit payment. Only a payment of type DEPOSIT in COMPLETED state without an existing chargeback can be used.

Request​

Responses​

Payment response

Examples

Approve withdrawal​

POST 

/api/v1/payments/:id/approve

Approve a withdrawal payment that is awaiting merchant approval. Only a WITHDRAWAL payment in AWAITING_APPROVAL state can be approved.

Request​

Responses​

Payment response

Examples

Reject withdrawal​

POST 

/api/v1/payments/:id/reject

Reject a withdrawal payment that is awaiting merchant approval. Only a WITHDRAWAL payment in AWAITING_APPROVAL state can be rejected. The payment will be transferred to CANCELLED state.

Request​

Responses​

Payment response

Examples

Get operations​

GET 

/api/v1/payments/:id/operations

Get a list of operations performed during payment processing sorted by time (most recent first)

Request​

Responses​

Operation List Response

Examples

Retrieve customers secure card token​

GET 

/api/v1/customers/{customer.referenceId}/card-tokens

Retrieve customers secure card token for further processing

Request​

Responses​

Received customers secure card token

Examples

Retrieve customers instruments​

GET 

/api/v1/customers/{customer.referenceId}/payment-methods/:paymentMethod/payment-instruments

Retrieve customers instruments for further processing

Request​

Responses​

Customer payment instruments

Examples

Retrieve customers tokens​

GET 

/api/v1/customers/:customerReferenceId/terminals/:terminalId/tokens

Retrieve customers tokens for a specific customer within a specific terminal

Request​

Responses​

Received customers tokens

Examples

Find subscription​

GET 

/api/v1/subscriptions/:id

Find subscription by Id

Request​

Responses​

Subscription Response

Examples

Patch subscription​

PATCH 

/api/v1/subscriptions/:id

Patch subscription

Request​

Responses​

Subscription Response

Examples

Get balances​

GET 

/api/v1/balances

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

Responses​

Balance List Response

Examples

Get balances available for withdrawals via the gateway API​

GET 

/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​

List of balances for the shop that was authenticated in the request

Examples

Payment processing completed​

Webhook 

Publish details of a new processed payment.

Request​

Responses​

Return a 200 status to indicate that the data was received successfully

Examples