Creating a fiat payin order
POST /orders/deposit
API
- Request Payload
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"country": "PH",
"amount": 10000,
"currency": "PHP",
"paymentType": "bank_transfer",
"paymentCode": "bpi",
"purposeCode": "expense_or_medical_reimbursement",
"redirectUrl": "https://www.transfi.com",
"type": "individual",
"partnerContext": {
"testfield1": "1234",
"testfield2": "5678"
},
"partnerId": "order-1234"
}
With the above payload, you will receive a paymentURL in the response that will take users to TransFi hosted checkout page.
With the Order ID you can fetch the status of the order.
- payment_code and payment_type are optional fields. If you pass these details then you can pre-select the payment method for your users.
- TransFi hosted page without passing payment_code & payment_type

TransFi hosted page without passing payment_code & payment_type

TransFi hosted page after passing payment_code & payment_type
Updated 4 months ago