Skip to content

Create Payment Transaction ​

Endpoint details ​

Method: POST
URL: BASE_URL/merchant/receipts/create/
Header:

http
Authorization: Bearer <ACCESS_TOKEN>
Fieldssample_dataTypeRequiredDescription
userId123stringNouserId (ID declared by the merchant)
amount1000intYesAmount in SUM (1000 = 1 Thousand SUM)
accountdictYes(”account”: {} ) send empty dict if merchant does not have additional data to save

Request example ​

json
{
  "userId": "string",
  "amount": 1000,
  "account": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  }
}

Success response example ​

json
{
  "transactionId": "string"
}

Error response example ​

json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}