POST
Transfer with beneficiary ID
Submit a Transfer payout by using an approved beneficiary ID.
Request
merchantNoMerchant number assigned by Onerway. Retrieve it from the merchant portal or onboarding material after your sandbox or production account is created.
Example:
801129payerIdCondition: Provide
Stored payer ID used for the transfer. Reuse this field when the payer has already been created and does not need to be passed inline.payerId or payerDetail.payerDetail{ createTime, merchantNo, ... }Condition: Provide
Inline payer details encoded as a JSON string. Use it when the payer is not pre-created or when the latest payer attributes must be sent with the request.payerDetail or payerId.beneficiaryIdApproved beneficiary ID used for the transfer.
Example:
1953727182141784064sourceAmountCondition: Required when
Source amount before downstream deductions. Use this field when the transfer is driven by the debit-side amount.chargeFlag=N.Example:
113sourceCurrencySource currency of the transfer.
Example:
USDtargetAmountCondition: Required when
Expected arrival amount in the beneficiary currency. Use this field when the transfer is driven by the beneficiary-side arrival amount.chargeFlag=Y.Example:
1901targetCurrencyTarget or beneficiary currency of the transfer.
Example:
PKRrequestIdMerchant request ID. Keep it unique for each transfer request for reconciliation and idempotency tracking.
Example:
DM2025081120520referenceTransfer reference or memo that appears in downstream reconciliation or beneficiary statements when supported.
transactionPurposeTransfer purpose code. Choose the value that matches the underlying business purpose and compliance requirement of the payout.
chargeFlagFull-arrival flag used to choose whether the target amount or source amount drives the calculation.
feeBearingCondition: Required for SWIFT transfers when fee-bearing mode must be declared.
SWIFT fee-bearing mode.signRequest signature string. Generate it according to the Transfer request-signing rules with your merchant private key.
curl -X POST 'https://sandbox-api.onerway.com/payout/api/v1/txn/remittance' \
-H 'Content-Type: application/json' \
--data-raw '{
"beneficiaryId": "1953727182141784064",
"chargeFlag": "Y",
"merchantNo": "801040",
"payerId": "1953712585351499776",
"reference": "REFERENCE PAYOUT",
"requestId": "DM2025081120520",
"sign": "{{SIGN}}",
"sourceAmount": 113,
"sourceCurrency": "USD",
"targetAmount": 1901,
"targetCurrency": "PKR",
"transactionPurpose": "4"
}'Response
respCodeResponse code returned by Onerway.
respMsgResponse message returned by Onerway.
data{ merchantNo, payoutId, ... }Created transfer record.
{
"respCode": "20000",
"respMsg": null,
"data": {
"merchantNo": "801129",
"payoutId": "1984136974445449216",
"status": "A",
"requestId": "CYPW20251031055450"
}
}No error responses are documented for this endpoint.