Cancel a payment held for compliance review: pending, with msg AML Pending
Security
bearerAuth
- Mock serverhttps://docs.swiftxpay.com/_mock/openapi/v2/payment/{id}/cancel
- Swiftx Test serverhttps://api.swiftxapptest.net/v2/payment/{id}/cancel
- Swiftx Production serverhttps://api.swiftxapp.net/v2/payment/{id}/cancel
curl -i -X POST \
'https://docs.swiftxpay.com/_mock/openapi/v2/payment/{id}/cancel?country=BGD&external=false' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Successful Response
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "timestamp": "2019-08-24T14:15:22Z", "status": "queued" }