You can Create Transactions our managed service for setting up transactions where we take care of everything without compromising the security or integrity of your funds. Find below the description of a cashout flow using the Directa24 cashouts integration: 1) Upon your customer's request, you submit a cashout request through the Cashout-Request API or through the Merchants panel (Transactions -> Withdrawals -> Request Cashout). 2) Initial validations are performed by the API, such as: - Merchant account balance enough to cover the cashout - Destination Crypto Account details are correct. - Customer's details are correct. Eg. Document ID 3) If the previous step is correct, the cashout is created and remains on PENDING status, otherwise, it's DECLINED. If Pending, it will be then sent to the Crypto for processing, when that happens, the status is set to DELIVERED. 4) Once the transaction comes back from the Crypto, it can be either COMPLETED or REJECTED (by the Crypto). There are some cases in which the Crypto could Confirm the Cashout and then Reject it because the destinatary's Crypto account was, for any reason, unable to receive the funds. This is a corner case but should be considered when integrating.
POST https://{api_URL}/api/cryptoWithdraw
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
callbackURL | string | (*Required) The URL on the merchant website where we will automatically POST the transaction status. Example: https://MerchantCallbackURL.com/StatusCallbackURL |
createURL | string | (Optional) The URL on the merchant website where we will automatically POST the transaction status. Example: https://MerchantCallbackURL.com/CreateOrderCallbackURL |
currencyCode | string | (*Required) This currency symbols codes of the currencies supported to specify the currency of monetary. Eg. USDT / USDC. Example:USDT |
coinCode | string | (*Required) Coin Code. Eg. ETH / TRX. Example:TRX |
amount | float | (*Required) The amount in currency to be transferred. * Maximun supported 4 decimals. Example:63.8500 |
toAcc | string | (*Required) Withdrawal to the Account of Crypto Address. Example:4980267564679463 |
referCode | string | (*Required) Reference code by merchant unique code. * unique. Example:REF1234509897 |
ownerBy | string | (*Required) Transaction Owner name / User name. Example:BestTitan |
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
docNo | string | (*Required) Document No. Generate by gateway system. * Unique. Example: WD8888888888 |