POST
Transfer with beneficiary ID
Submit a Transfer payout by using an approved beneficiary ID.
Request
merchantNoMerchant number of the request initiator.
Example:
800699Constraints
- Rule
- Maximum length: 20.
onBehalfOfMerchant number that the request is for. Include only when making a request on behalf of another merchant.
beneficiaryIdOnerway beneficiary ID.
Example:
1953727182141784064Constraints
- Rule
- The beneficiary must have payeeStatus
passorunnecessary.
sourceAmountCondition: Required when
Amount denominated in chargeFlag=N.sourceCurrency.Example:
113Constraints
- Rule
- Source-currency amount used for calculation when chargeFlag is
N; it must be greater than zero in this mode.
sourceCurrencySource currency.
Example:
USDtargetAmountCondition: Required when
Amount denominated in chargeFlag=Y.targetCurrency.Example:
1901Constraints
- Rule
- Target-currency amount used for calculation when chargeFlag is
Y; it must be greater than zero in this mode.
targetCurrencyTarget currency.
Example:
PKRrequestIdMerchant-generated business reference for the payout.
Example:
DM2025081120520Constraints
- Rule
- Maximum length: 64.
- Rule
- Use a unique value for each payout and retain it for reconciliation and queries.
referencePayment reference or memo.
Constraints
- Rule
- Maximum length: 256.
chargeFlagAmount calculation mode:
Y uses targetAmount with platform fees borne by the merchant; N uses sourceAmount with platform fees borne by the beneficiary. See enum values.feeBearingCondition: Required for SWIFT payouts; omit for other payment methods.
SWIFT fee allocation: SHA shares fees between the merchant and beneficiary; OUR charges SWIFT fees to the merchant. See enum values.signRequest signature. Generate it using the signing method and credentials configured for the initiating merchant, following the request-signing rules.
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": "800699",
"reference": "REFERENCE PAYOUT",
"requestId": "DM2025081120520",
"sign": "{{SIGN}}",
"sourceCurrency": "USD",
"targetAmount": 1901,
"targetCurrency": "PKR",
"transactionPurpose": "4"
}'Response
respCodeResponse code;
20000 indicates successful request processing. All other values are error codes.respMsgHuman-readable description of the response code.
data{ merchantNo, payoutId, ... }Created transfer record.
{
"respCode": "20000",
"respMsg": null,
"data": {
"merchantNo": "800699",
"payoutId": "1984136974445449216",
"status": "A",
"requestId": "CYPW20251031055450"
}
}No error responses are documented for this endpoint.