Creating a Payout order

POST /payout/orders API

When creating a FIAT Payout, you need to already know the bank account details where the payout will be sent out which includes the bank code and the bank account number of the business within that bank. If an invalid bank code and/ or bank account number are provided, the payout will be rejected.

curl --request POST \
  --url https://sandbox-api.transfi.com/v2/payout/orders \
  --header 'Accept: application/json' \
  --header 'Authorization: Basic 0==' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "[email protected]",
  "currency": "PHP",
  "amount": 500,
  "paymentCode": "gcash",
  "purposeCode": "other",
  "partnerContext": {},
  "additionalDetails": {
    "documentNumber": "RFC123456",
    "accountType": "checking",
    "accountNumber": "1234567890123456",
    "beneficiaryType": "individual",
    "phone": "8912111111",
    "bankCode": "AJS786",
    "documentType": "CE"
  },
  "partnerId": "order-12345"
}'