Onerway

Response codes and enums

Public Transfer response codes, transfer statuses, and business enums.

Enum values are case-sensitive. Transfer statuses use uppercase values; beneficiary statuses use lowercase values. Follow the corresponding field descriptions.

status Transfer status

CodeDescriptionExplanation
ACreatedThe transfer has been created and is awaiting review.
PProcessingThe payout is being processed.
SSucceededThe payout has completed successfully.
FFailed, including returned transfersThe payout failed or was returned after payout; see the integration flow for returned transfers.

payeeStatus Beneficiary status

CodeDescription
passReview passed
unnecessaryReview not required
disableDisabled
deletedDeleted

paymentMethod Payment method

The paymentMethod field, paymentMethods returned by the payment-method query, and payoutMethod in transfer list queries use the same enum values below. Submit and read the field name defined by each endpoint.

CodeDescriptionExplanation
SWIFTSWIFT transferTransfer through the SWIFT network.
BANK_TRANSFERBank transferTransfer through a local bank network.
E_WALLETE-wallet transferTransfer to an e-wallet account.
CASH_PICKUPCash pickupThe beneficiary collects cash at a designated location.

entityType Entity type

CodeDescriptionExplanation
0BusinessThe beneficiary is a business.
1IndividualThe beneficiary is an individual.

accountType Bank account type

CodeDescription
0Checking account
1Savings account
2Ordinary account

chargeFlag Full amount flag

CodeDescriptionExplanation
YFull amountCalculated from targetAmount; platform fees borne by the merchant
NNon-full amountCalculated from sourceAmount; platform fees borne by the beneficiary

feeBearing SWIFT fee allocation

CodeDescriptionExplanation
SHAShared feesShared by the merchant and beneficiary
OURMerchant bears feesBorne by the merchant

transactionPurpose Transaction purpose

CodeDescriptionExplanation
0Transfer to own accountMove funds to another account owned by the same person or business.
2Loan or credit repaymentRepay a loan or credit bill.
4Shipping feesPay transportation costs.
5Professional or business servicesPay for professional or business services.

walletType Wallet type

For e-wallet payments, select walletType based on the beneficiary wallet name and account identifier type, and supply the wallet identifier in walletPhone. If a wallet supports multiple identifier types, select the enum value matching the actual identifier.

  • Use the camelCase field name walletType. Preserve the casing and spaces in the enum values below.
  • When creating or updating a beneficiary, include wallet details in the accountInfomation JSON string. For Query required fields, walletType is a request body parameter.
  • walletPhone can contain a phone number, email address, identification number, or wallet account ID. Use the account format listed below. walletFormat describes the format; it is not an additional request field to send.
Wallet namewalletType enum valueWallet account format
DANADANAMOBILE
GOPAYGOPAYMOBILE
GRABPAYGRABPAYMOBILE
LINKAJALINKAJAMOBILE
OVOOVOMOBILE
PAYTRENPAYTRENWALLET ID
COINSCOINSMOBILE
GCASHGCASHMOBILE
PAYMAYAPAYMAYAMOBILE
ALIPAYALIPAYMOBILE
WECHAT PAYWECHAT PAYMOBILE
DCPAYDCPAYMOBILE
UPIVPAVPA
PayNowMOBILEMOBILE
PayNowUENUEN
PayNowNRICNRIC
PayNowVPAVPA
DuitNowNRICNRIC
DuitNowPASSPORTPASSPORT
DuitNowCORPORATE_REGISTRATION_NUMBERCORPORATE_REGISTRATION_NUMBER
DuitNowMOBILEMOBILE
DuitNowARMY_IDARMY_ID
PIXMOBILEMOBILE
PIXEMAILEMAIL
PIXIDWALLET ID
PIXRANDOM_KEYRANDOM_KEY
VENMOVENMOMOBILE
PAYPALPAYPALEMAIL
PayIDABNABN
PayIDEMAILEMAIL
PayIDPHONE NUMBERMOBILE
PayIDCORPORATE IDCORPORATE ID
FPSMOBILEMOBILE
FPSEMAILEMAIL
FPSFPS IDWALLET ID
KEAirtelAirtel
KEEquitelEquitel
KEMpesaMpesa
ShopeePayShopeePayMOBILE
MomoMomoMOBILE
VNPTVNPTMOBILE
ZaloPayZaloPayMOBILE
VNPayVNPayMOBILE
TnGTnGDuitnow ID
BKASHBKASHMOBILE
ROCKEYROCKEYWALLET ID
NAGADNAGADMOBILE
PAPARAPAPARA_NUMBERNUMBER
PAPARAPAPARA_EMAILEMAIL
PAPARAPAPARA_PHONEMOBILE
PAPARAPAPARA_TURKISHTURKISH
ALFAALFAWALLET ID
KONNECTKONNECTWALLET ID
EASYPAISAEASYPAISAWALLET ID
FINCAFINCAWALLET ID
APNAAPNAWALLET ID
UBANKUBANKWALLET ID
JAZZCASHJAZZCASHWALLET ID
ADVANSADVANSWALLET ID
KHUSHALIKHUSHALIWALLET ID
NAYAPAYNAYAPAYWALLET ID
PAYMAXPAYMAXWALLET ID
SADAPAYSADAPAYWALLET ID
BYKEABYKEAWALLET ID
FINJAFINJAWALLET ID
TMFBTMFBWALLET ID
BANKALFABANKALFAMOBILE
UPAISAUPAISAMOBILE
BigPayBigPayDuitnow ID

respCode Business response codes

An HTTP status does not replace the business result. Check respCode and respMsg; use the response schema of the endpoint. These codes appear in the documented examples and are not an exhaustive error list for every endpoint.

CodeMeaning
20000Success; acceptance of a payout does not confirm final receipt
60001Required field missing
60002Invalid IBAN or country mismatch
50131Invalid email or wallet account format
50089Beneficiary bank account already exists
50094Beneficiary creation failed

For beneficiary creation failures, see Create beneficiary. For returned transfers, see the integration flow.

Identity, address, and account fields

See Create beneficiary for identity, address, bank account, and wallet field descriptions. Query required fields for the selected payout method.