Onerway
POST

Transfer with beneficiary ID

Submit a Transfer payout by using an approved beneficiary ID.

Request

merchantNo
Merchant number of the request initiator.
Example:
Constraints
Rule
Maximum length: 20.
onBehalfOf
Merchant number that the request is for. Include only when making a request on behalf of another merchant.
beneficiaryId
Onerway beneficiary ID.
Example:
Constraints
Rule
The beneficiary must have payeeStatus pass or unnecessary.
sourceAmount
Condition: Required when chargeFlag=N.
Amount denominated in sourceCurrency.
Example:
Constraints
Rule
Source-currency amount used for calculation when chargeFlag is N; it must be greater than zero in this mode.
sourceCurrency
Source currency.
Example:
targetAmount
Condition: Required when chargeFlag=Y.
Amount denominated in targetCurrency.
Example:
Constraints
Rule
Target-currency amount used for calculation when chargeFlag is Y; it must be greater than zero in this mode.
targetCurrency
Target currency.
Example:
requestId
Merchant-generated business reference for the payout.
Example:
Constraints
Rule
Maximum length: 64.
Rule
Use a unique value for each payout and retain it for reconciliation and queries.
reference
Payment reference or memo.
Constraints
Rule
Maximum length: 256.
transactionPurpose
Transaction purpose code. See enum values.
Constraints
Rule
Maximum length: 64.
chargeFlag
Amount 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.
feeBearing
Condition: 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.
sign
Request signature. Generate it using the signing method and credentials configured for the initiating merchant, following the request-signing rules.

Request example

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

respCode
Response code; 20000 indicates successful request processing. All other values are error codes.
respMsg
Human-readable description of the response code.
Created transfer record.

Response example

{
  "respCode": "20000",
  "respMsg": null,
  "data": {
    "merchantNo": "800699",
    "payoutId": "1984136974445449216",
    "status": "A",
    "requestId": "CYPW20251031055450"
  }
}
No error responses are documented for this endpoint.