cURL
curl --request POST \ --url https://sandbox.onconsul.com/v1/deposits/quote \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "amount": "<string>", "source_bank_account_id": "<string>", "is_receiver_amount": true } '
{ "created_at": "2023-11-07T05:31:56Z", "destination": { "amount": "<string>", "currency": "USDC", "chain": "ethereum", "min_amount": "<string>", "payment_method": "usd_ach" }, "id": "<string>", "market_rate": "<string>", "source": { "amount": "<string>", "currency": "USDC", "account_id": "<string>", "chain": "ethereum", "payment_method": "usd_ach" }, "time_estimate_seconds": 123, "expires_at": "2023-11-07T05:31:56Z", "fee": { "currency": "USDC", "flat_fee": "<string>", "percentage_fee": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
Show child attributes