Skip to main content
POST
/
api
/
external
/
collection
/
crypto
Initiate crypto collection
curl --request POST \
  --url https://api-prod.blaaiz.com/api/external/collection/crypto \
  --header 'Content-Type: application/json' \
  --header 'x-blaaiz-api-key: <api-key>' \
  --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"
  }
}

Authorizations

x-blaaiz-api-key
string
header
required

Headers

Accept
string
default:application/json

Content type header.

Body

application/json
amount
number
required

Amount to collect (minimum 0.1).

Required range: x >= 0.1
wallet_id
string
required

Wallet ID to fund.

network
string
required

Blockchain network (e.g., ETHEREUM_MAINNET, MATIC_MAINNET, TRON_MAINNET).

token
string
required

Token to use (e.g., USDT, USDC).

customer_id
string

Existing customer ID to associate with the collection.

Response

Crypto collection initiated successfully.

message
string
required
transaction
object
required