Buy Crypto

Customers can buy crypto with their credit card on Cabital Widget. If customers have saved credit card information, they can purchase crypto by choosing their credit cards next time.
How to simulate the customer buy crypto with credit card in sandbox environment?
In sandbox environment, you can use this card number 424242424242424242 to simulate the buy flow on the widget.
URL Parameters¶
| Parameter | Required | Description |
|---|---|---|
feature |
Yes | buy |
pair |
No | Currency pair 1. Format should be Crypto to buy-Fiat to pay2. e.g. USDT-EUR presents the buy information of Spend EUR and Buy USDT |
major_ccy |
No | The fiat currency the customer wants to spend, e.g. EUR |
major_amount |
No | Spend amount 1. We will check the fiat amount meet the restriction or not. 2. Commas is not allowed in the numeric string. 3. The decimal point must be .4. e.g. 1000.00 |