This endpoint allows a user to calculate payment charges associated with different payment methods.
It supports scenarios including:
- Customer transactions (
subAction = "transaction")
- Money transfers (
subAction = "transfer")
Charges are determined based on:
- Selected payment method
- Amount and currency
- Organisation and customer country
Authentication
Authentication token obtained after login.
Device UUID used for request tracking.
Platform identifier (e.g., “WEB”, “ANDROID”, “IOS”).
Request Body
Payment code number. Required if subAction = "transaction".
Action type. Accepted values:
Selected payment method. Must match PaymentMethod enum, e.g., "ONLINE_CARD_PAYMENT", "BANK_TRANSFER".
Currency code for the transfer (required if subAction = "transfer").
Amount for the transfer (required if subAction = "transfer").
Code Examples
Use Cases
1. Retrieve Charges for a Transfer
2. Retrieve Charges for a Transaction