Skip to content

Confirm Payment ​

Endpoint details ​

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

http
Authorization: Bearer <ACCESS_TOKEN>
Fieldssample_dataTypeRequiredDescription
transactionId9f877739-bc25-4f0f-a13f-ec485fd04250stringYestransactionId that is returned by the /receipts/create/ method
cardId9f877739-bc25-4f0f-a13f-ec485fd04250stringYescardId that is created in Paylov system
userId123stringYesuserId (ID declared by the merchant)

Request body ​

json
{
  "transactionId": "string",
  "cardId": "string",
  "userId": "string"
}

Successful response ​

json
{
  "result": {
    "transactionId": "9b370dde-dfe1-4365-be8a-d3581c9479ba"
  }
}

Error response ​

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