Payments involve two core amount fields. Understanding their relationship helps you set payment parameters correctly.
| Field | API Parameter | Meaning |
|---|---|---|
| Payment Amount | sourceAmount | Total amount actually deducted from payer's account (including fees) |
| Expected Receiving Amount | targetAmount | Estimated amount the beneficiary will receive based on current fees and exchange rates; the actual amount depends on bank processing |
Same Currency Payment: Payment Amount = Expected Receiving Amount + Fees
Cross-currency Payment: Fees are deducted from the payment amount before conversion to the payout currency. The expected receiving amount is (Payment Amount - Fees) × Exchange Rate. The actual amount may also be affected by fees charged by the beneficiary bank or intermediary banks.
ONERWAY supports two fee bearing modes, determining whether fees are borne by the payer or beneficiary.
Beneficiary Bears (chargeFlag=N): Fees are deducted from the payment amount (sourceAmount). The merchant specifies sourceAmount, and the system calculates the expected receiving amount (targetAmount).
Payer Bears (chargeFlag=Y): The merchant specifies the expected receiving amount (targetAmount), and the system calculates the amount payable by the payer (sourceAmount) based on fees. The actual amount received may be affected by fees charged by the beneficiary bank or intermediary banks.
API, batch template, and Portal operations correspond to different parameter settings. Below is the parameter mapping for fee bearing modes.
| Operation Method | Beneficiary Bears | Payer Bears |
|---|---|---|
| API | chargeFlag=N | chargeFlag=Y |
| Batch Template | Transfer amount specified as = Source currency | Transfer amount specified as = Target currency |
| Portal | Enter in "You Pay" field | Enter in "Beneficiary Receives" field |
SWIFT Fee Bearing:
| Operation Method | Payer Bears All Bank Fees | Shared |
|---|---|---|
| API | feeBearing=OUR | feeBearing=SHA |
| Batch Template | SWIFT charge bearer = OUR | SWIFT charge bearer = SHA |
Under OUR, the payer bears the platform service fee and applicable SWIFT bank fees. Under SHA, some bank fees may be deducted from the amount received by the beneficiary. Neither mode guarantees that the actual amount received will exactly match the expected receiving amount.
For cross-currency payments, the system converts at real-time exchange rates. You can query current rates through the following API.
Query Exchange RateTransfer API
When a payment fails or is returned after success, fees are handled as follows.
| Transaction Result | Fee Handling |
|---|---|
| Failed | Not charged; system automatically refunds deducted fees |
| Returned | Depends on billing agreement |