Pay a generated QrCode. NOTE: This endpoint is only available for the homologation environment.
POST/api/transactions/pay/:merchantId
Pay a generated QrCode. NOTE: This endpoint is only available for the homologation environment.
Request
Path Parameters
merchantId stringrequired
Merchant ID
Example: 7da0c9af-215e-4625-b484-b8cfc87aaa09
Responses
- 201
- 400
- 401
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
message message (string)
Created response
{
"message": "Payment requested. Waiting for confirmation"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
message message (string)
Bad Request response
{
"message": "QrCode has already been paid"
}
Unauthenticated
- application/json
- Schema
- Example (from schema)
Schema
message message (integer)
Response 401
{
"message": "Invalid x-api-key"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
message message (string)
Error response
{
"message": "Unable to complete payment. Please, try again later"
}
Loading...