Skip to content

Interaction Format with Epicsplat API

Features

Epicsplat is a universal solution for online payments and payouts. The Epicsplat API is built on REST principles, works with real objects, and has predictable behavior. With this API, you can send payment requests, store payment information for recurring charges, process refunds, make payouts, and much more. The API uses HTTP as the main protocol, making it suitable for development in any programming language that can work with HTTP libraries (such as cURL and others).

API endpoint: https://api.epicsplat.com/paysystem/v1/

The API supports POST, GET, and DELETE requests. POST requests use JSON arguments, while GET and DELETE requests work with query strings. The API always returns responses in JSON format, regardless of the request type.

Authentication

HTTP Bearer Auth

Authentication data for requests should be passed in the request header in the Authorization parameter with your API token in Epicsplat.

API token is responsible for the security of your data. Keep it in a secure place and do not publish it on third-party resources.

Example request with authentication

curl https://api.epicsplat.com/paysystem/v1/orders/{order_id} \
    -H "Authorization: Bearer <token>"

You can obtain and issue an API token (and delete outdated ones) in your Epicsplat account.

Request Processing

Epicsplat processes the received request immediately and returns the processing result ("success" or "failure"). The response includes the HTTP response code, standard headers, and, if necessary, the response body in JSON format. Learn more about the response format If it is impossible to provide an accurate response within 30 seconds, for example, due to issues on the acquirer's side, Epicsplat will return an HTTP response code 500 and, for payment-related requests, will also attempt to cancel the operation. HTTP 500 does not indicate the success or failure of your operation. Therefore, when receiving HTTP 500, you need to first determine the processing result of the request and only then make any decisions related to that operation.