Confirm payment
After initialising the payment, we need to confirm it to complete the payment.
Use case
Here, we will confirm a payment draft using the payment ID parameter.
Use case data
API parameters with values
The payment ID is taken from the response to the payment initialisation request.
".../PAYM-47356/confirm"
An optional comment.
{ "comment": "Confirm payment" }
Sample API call
To confirm the payment, use the following endpoint:
https://payment-api.sandbox.tuumplatform.com/api/v3/payments/PAYM-47356/confirm
Sample request
The sample request body is as follows:
{
"comment": "Confirm payment"
}
Sample response
Below you will find the response to the sample request:
Result
The payment is confirmed with the statusCode WAITING_FOR_AML
. You can check the AML-related information using the AML API. You can also manually approve or decline a payment detected by the AML monitoring system.
Last updated
Was this helpful?