Create a Deposit (Pay-In) Deal

This endpoint creates a new deposit (pay-in) deal. The deal is initiated by the client and can include various parameters such as the amount, currency, client information, and payment type.
Upon success, a response containing the deal ID, status, and redirect URL will be returned.
Ensure that all required fields are included in the request body.

Body Params
number
required

Deal gross amount (how much money a client gives)

string
required

The currency in which the client will transfer money

string
required

The country the client is from (for cases when payment is made in international currency)

boolean

Deal is sbp, deprecated

string
required

Merchant invoice reference

string
required

Merchant client reference

uuid

ID from bank list

boolean

Trusted flag

string
required

Redirect to this URL when payment successfully completes

string
required

Redirect to this URL when payment fails

string
required

Redirect to this URL when the user presses the back button

string
enum
Defaults to p2p

Payment type / FPS

string

Client's payment details (optional)

fingerprint
object

Represents the fingerprint data of a client, including location and browser details.
This information is used to enhance security and identify the client’s device.

string
enum

Language code

Headers
string
required

Bearer token for authenticating the request. Example: Authorization: Bearer 123.

Responses

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "new",
  "url": "https://paymentgateway.com/redirect",
  "type": "p2p"
}

{
  "error": "ERROR_ACCESS_TOKEN_INVALID",
  "message": "Access token is invalid.",
  "statusCode": 400
}

{
  "error": "ERROR_TOKEN_EXPIRED",
  "message": "Access token has expired.",
  "statusCode": 401
}

{
  "error": "DEAL_ALREADY_EXISTS",
  "message": "Deal with same invoiceId already exists.",
  "statusCode": 409
}
Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json