Create Transaction
Read on how to create transactions in our system
A transaction can be created only after the following criteria are fulfilled.
The Sender's KYC status is other than UNVERIFIED, IN PROGRESS, or SUSPENDED
At least one sender funding account has been linked by the sender and is active
At least one receive user has been added
Based on the payout_method, different information about the receive user and method is required.
payout_method=
BANK_DEPOSIT
, funds are directly deposited into the receive user's account. Receive bank accounts need to be added for this transaction.payout_method=
WALLET
, funds are directly deposited to the receive user's wallet. Receive wallet accounts need to be added for this transaction.payout_method=
CASH_PICKUP
, funds can be collected at a cash pick-up location. The payer_id of the relevant location must be specified for this transaction.payout_method=
HOME_DELIVERY
, funds are directly delivered to the receive user's home. Address must be accurate and payer_id must be specified for the transaction.
POST /users/{{user_id}}/transactions
POST /users/{{user_id}}/transactions
Bank Deposit
Wallet
Cash Pickup
Calculation Mode
There are two calculation models available for the sending and receiving amount while creating a transaction. These modes are based on which amount (sending or receiving) the system will take as a base for the calculation.
1. SENDER_AMOUNT: When a transaction is created with this calculation mode, you will pass the sending amount and exchange rate through the Transaction API. The receiving amount is calculated based on the provided sending amount and exchange rate. The default calculation mode is SENDER_AMOUNT.
2. RECEIVER_AMOUNT: When a transaction is created with this calculation mode, you will pass the total receiving amount, sending amount, and exchange rate through the Transaction API. We will then calculate the sending amount based on the provided receiving amount and exchange rate.
The calculated sending amount will then be compared with the sending amount you have provided in the request. If the difference between the calculated sending amount and the sending amount provided by you in the API request is greater than $0.01, the transaction API will provide the following error message.
For example, if the exchange rate today for USD to MEX, is 19.77 and the recipient_amount is 427, the sender amount would be 427/19.66 = 21.719. Since our API will take the difference up to $0.01, $21.72 would be accepted for a successful transaction.
Last updated