Cancel a payment that is pending sanction screening: awaiting a verdict, or held for compliance review (msg AML Pending)
Security
bearerAuth
- Mock serverhttps://docs.leanx.me/_mock/openapi/v2/payment/{id}/cancel
- Leanx Test serverhttps://api.leanxtest.me/v2/payment/{id}/cancel
- Leanx Production serverhttps://api.leanx.me/v2/payment/{id}/cancel
curl -i -X POST \
'https://docs.leanx.me/_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" }