Execute payment to beneficiary with specified bank details.
Unique ID provided by API user. Alphanumerics and -, _, ., # only.
Source currency (the currency will be automatically converted to local currency using the provided quote)
The payout amount, in the destination (local) currency. With a quote, send its amount_destination verbatim; do not recompute it from rate. It must fall inside the quote's limits.min_amount_destination / limits.max_amount_destination band.
Why the sender is making the payment.
Currency quote id (UUID) as returned by POST /v3/quote; its currency must match currency. The payment is then charged to your wallet. Omit it to pay from the local-currency balance bought through deals instead.
- Mock serverhttps://docs.swiftxpay.com/_mock/openapi/v3/payment
- Swiftx Test serverhttps://api.swiftxapptest.net/v3/payment
- Swiftx Production serverhttps://api.swiftxapp.net/v3/payment
curl -i -X POST \
'https://docs.swiftxpay.com/_mock/openapi/v3/payment?timeout=30' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"external_id": "string",
"payment_type": "B2B",
"payment_country": "IND",
"payment_method": "bank_transfer",
"payment_details": {},
"currency": "BHD",
"amount": 1,
"sender": {
"name": "string",
"address": "string",
"country": "str",
"id": "string"
},
"beneficiary": {
"name": "string",
"address": "string",
"country": "str"
},
"remarks": "string",
"purpose": "family_support",
"quote": "ac2490ad-7b17-416c-8a94-838b251071f6",
"payment_currency": "INR"
}'Successful Response
The quote this payment was made against; for a payment from the local balance, the one priced internally for it.
Which balance pays for it: the wallet (stablecoin) or the local currency bought through deals (local).
The payment as you submitted it.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "quote": { "amount_destination": 8488.79, "amount_source": 100, "country": "IND", "currency": "USD", "id": "00000000-0000-7000-8000-000000000000", "limits": { … }, "payment_method": "bank_transfer", "rate": 84.887912, "timestamp": "2024-12-01T01:02:03.000000Z", "wallet_info": { … } }, "funding": "stablecoin", "order": { "external_id": "string", "payment_type": "B2B", "payment_country": "IND", "payment_method": "bank_transfer", "payment_details": {}, "currency": "BHD", "amount": 1, "sender": { … }, "beneficiary": { … }, "remarks": "string", "purpose": "family_support", "quote": "ac2490ad-7b17-416c-8a94-838b251071f6", "payment_currency": "INR" }, "response": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "external_id": "string", "timestamp": "2019-08-24T14:15:22Z", "status": "queued", "msg": "string", "quote": "ac2490ad-7b17-416c-8a94-838b251071f6", "amount": 0, "currency": "BDT", "exchange_info": { … }, "wallet_info": { … }, "payment_reference": "string", "related_info": { … } }, "account": { "status": "valid" } }