QR Payouts
Pay someone by scanning their payment QR code.
What this doesIn several Southeast Asian countries, people and shops are paid through a QR code instead of account details. You read the code, then pay to it.
Steps
1. Read the QR code
Send the raw text from the QR code. You get back who it belongs to and how to pay them.
curl -X POST 'https://sandbox-api.transfi.com/v3/qr-code/details' \
-H 'Authorization: Basic YOUR_BASE64_CREDENTIALS' \
-H 'mid: YOUR_MID' \
-H 'Content-Type: application/json' \
-d '{
"qrCode": "00020101021226...",
"country": "PH"
}'2. Create the payout
Use the details from step 1, with paymentType set to qr.
curl -X POST 'https://sandbox-api.transfi.com/v3/orders' \
-H 'Authorization: Basic YOUR_BASE64_CREDENTIALS' \
-H 'mid: YOUR_MID' \
-H 'Content-Type: application/json' \
-d '{
"userId": "UX-250930071801552",
"orderType": "payout",
"purposeCode": "invoice_payment",
"partnerId": "payout-2003",
"source": {
"currency": "USDT"
},
"destination": {
"currency": "PHP",
"amount": "1500",
"paymentType": "qr"
}
}'3. Wait for the final status
Same statuses as any payout — fund_settled means paid. See Payouts.
Test it
Get a test QR code with Simulate QR Code Generation, then run the two steps above.
Related
Updated about 7 hours ago
Did this page help you?