Crypto funding

Initiate a crypto collection to fund a wallet using cryptocurrency. Required scope: collection:crypto:create.

POSTapi-prod.blaaiz.com/api/external/collection/crypto

Authorization

oauth2ClientCredentials collection:crypto:create
AuthorizationBearer <token>

Use your OAuth client credentials to obtain a short-lived Bearer token from POST /oauth/token.

In: header

Scope: collection:crypto:create

Header Parameters

Accept?string

Content type header.

Default"application/json"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

Initiate crypto collection
curl --request POST \  --url 'https://example.com/api/external/collection/crypto' \  --header 'Content-Type: application/json' \  --data '{  "amount": 25,  "wallet_id": "9d469b3f-ca6c-4e82-8b4f-5f323c9ab03e",  "network": "MATIC_MAINNET",  "token": "USDT"}'
{  "message": "Crypto collection initiated successfully.",  "transaction": {    "transaction_id": "fb87c0f8-31e3-46f3-b0d3-1ff2618565bc",    "reference": "7u5sXBFPA8IVDqV",    "token": "USDT",    "token_amount": 25,    "network": "MATIC_MAINNET",    "address": "0xdb664b89191eb50e0b45d7516c1adc2fcc327746",    "status": "PENDING",    "expires_at": "2024-02-26T14:24:15.000000Z"  }}