Confirm Operation
POST /payment/api/v1/{request_id}
Request
URL Parameters
- request_id(string): Unique identifier for the sales process. To confirm a sale, the request_id must be the same as the one created when generating the payment link.
Payload
No parameters
Response
Payload
- order: Ticket for the operation.
- amount: Amount of the operation in decimals. 140 will represent €1.4.
- currency: Currency used in the operation. Any currency defined according to ISO_4217 will be valid.
- payment_method_name: Payment method used by the customer.
- extra: Payment method details.
Examples
Example - Card
Request
{
"key": "{{key}}",
"resource": "{{resource}}",
"mode": "sha256",
"nonce": "123123",
"payload": {}
}
Response
{
"type": "resource.status",
"code": "0",
"detail": "Operation confirmed successfully",
"payload": {
"order": "2985eb318b1e48158c32bac15c5b32fd",
"amount": "15000",
"currency": "EUR",
"payment_method_name": "card",
"extra": {
"code": "0",
"amount": "15000",
"currency": "EUR",
"order": "2985eb318b1e48158c32bac15c5b32fd",
"card_trade": "undefined",
"card_type": "undefined",
"masked_card": "4907 27** ****2833",
"reconciliation": "",
"transaction_id": "000027346264324817798",
"cof_id": "749384973248",
"authorizator": "BANCO SANTANDER, S.A.",
"approval": "398258",
"card_country": "undefined",
"card_brand": "VISA",
"expiration": "1249"
}
},
"request_id": "62694b31a72bfcb052598675",
"uuid": "62694b31a72bfcb052598675"
}