Get info about previously executed payment
Security
bearerAuth
- Mock serverhttps://docs.leanx.me/_mock/openapi/v2/payments/{id}
- Leanx Test serverhttps://api.leanxtest.me/v2/payments/{id}
- Leanx Production serverhttps://api.leanx.me/v2/payments/{id}
curl -i -X GET \
'https://docs.leanx.me/_mock/openapi/v2/payments/{id}?country=BGD&external=false' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order": { "amount": 100, "bank_branch_code": "ABBLBDDH201", "bank_name": "Bangladesh Bank", "beneficiary_account_number": "9934572443993487", "beneficiary_account_type": "savings", "beneficiary_address": "Main Road", "beneficiary_city": "Dhaka", "beneficiary_email": "bashir.ahmed@domain.com", "beneficiary_mobile": "+8801700000000", "beneficiary_name": "Bashir Ahmed", "country": "BGD", "currency": "AED", "quote": "00000000-0000-4000-A000-000000000000", "remarks": "test", "sender_address": "Jumeirah Beach Road", "sender_birthdate": "1970-01-01", "sender_city": "Dubai", "sender_country": "ARE", "sender_identity_doc": "A987654", "sender_identity_doc_country": "ARE", "sender_identity_doc_exp": "2038-01-19", "sender_identity_doc_type": "idcard", "sender_mobile": "+9715850185684", "sender_name": "Ahmed Ahmed", "sender_relation": "other" }, "response": { "id": "00000000-0000-4000-A000-000000000000", "msg": "OK", "status": "queued", "timestamp": "2024-12-01T01:02:03.000000Z" }, "quote": { "amount": 100, "amount_destination": 8488.79, "country": "IND", "currency": "USD", "expires": "2024-12-01T01:17:03.000000Z", "id": "00000000-0000-4000-A000-000000000000", "max_amount_destination": 100000, "min_amount_destination": 100, "rate": 84.887912, "timestamp": "2024-12-01T01:02:03.000000Z", "wallet_rate": 84.887912 }, "account": { "status": "valid" } }