POST
/
receivers
/
{receiverId}
/
blockchain-accounts
curl --request POST \
  --url https://extensions-sandbox.lumx.io/payments/receivers/{receiverId}/blockchain-accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Blockchain Account",
  "wallet": "7d413181-6c8c-427e-9d7b-6b07ba6ad5fb"
}'
{
  "id": "wa_000000000000",
  "wallet": "7d413181-6c8c-427e-9d7b-6b07ba6ad5fb"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

receiverId
string
required

Body

application/json
name
string
required

Display name for the wallet.

Required string length: 1 - 100
wallet
string
required

The wallet ID or wallet address. If not provided, a new smart wallet will be created and linked to this blockchain account.

Response

201 - application/json
id
string
required

The ID of blockchain account.

wallet
string
required

The wallet ID or wallet address. If not provided, a new wallet will be created and linked to this blockchain account.