fee field allows Pretium to collect fees on your behalf.
Example
If your UI charges a 1% facilitation fee and a user wants to offramp KES 1,000 (resulting in a KES 10 fee):Steps
- Deduct the equivalent of KES 1,010 from the user’s wallet.
- Submit the following parameters in your API request:
Onramp
The reverse applies during onramping — if User B wants to onramp KES 1,000 and you include a fee of 10, Pretium API will initiate a collection of KES 1,010 from the user, credit KES 10 to your fiat wallet upon confirmation, and release assets equivalent to KES 1,000 to the user’s address.Where to send fee
Include fee (optional number) on money-moving requests such as:
amount is the gross amount (recipient + fee). fee is the portion credited to your partner fiat wallet.