You can create a payin either via a payment link or an Omnibus deposit. Omnibus deposits are only supported for Argentina, Guatemala, Costa Rica and Panama.
/api/v1/wallet/deposits/new
Parameter | Require | Description |
---|---|---|
gateway | Yes | ID of the payin gateway |
amount | Yes | Amount to be deposited |
currency | Yes | Currency of the deposit |
customer_id | No | Pass the customer ID if the deposit is for a customer wallet |
{
"gateway": 22,
"amount": 11,
"currency": "CLP",
"customer_id": "xxxxxx-xxxx-xxxx-xxxxxx" //optional, add if transaction is for customer
}
Before using this endpoint, you must first enroll your customer for this service. If your customer is not enrolled for Omnibus, the request will fail.
Note: Your customer pays in the local fiat currency, and we settled the funds to your USD balance.
POST {{base_url}}/api/v1/epay/deposit
{
"customer_id": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx",
"amount": "1000",
"coin": "ARS" ////(ARS,CRC,PUSD,GTQ)
}
Here is how to retrieve the gateway id for your payin request(Only for payment links):