Skip to main content
POST
/
trades
/
sell
/
assets
/
{id}
/
generate-address
Generate Wallet Address
curl --request POST \
  --url https://api.breet.io/v1/trades/sell/assets/{id}/generate-address \
  --header 'Content-Type: application/json' \
  --header 'X-Breet-Env: <api-key>' \
  --header 'x-app-id: <api-key>' \
  --header 'x-app-secret: <api-key>' \
  --data '
{
  "label": "unique-identifier",
  "bankId": "39",
  "narration": "Breet payout",
  "accountNumber": "215842XXXX"
}
'
{
  "message": "wallet address generated successfully",
  "success": true,
  "data": {
    "id": "6932dc98c2ceccdea367388a",
    "address": "TV8dNYYBgL3xLbQcJLMBNavY4gYNqPF8Jv"
  },
  "meta": {},
  "summary": {},
  "stats": {}
}

Authorizations

x-app-id
string
header
required

Your application ID from the Breet dashboard

x-app-secret
string
header
required

Your application secret from the Breet dashboard

X-Breet-Env
string
header
required

Environment selector: development or production

Path Parameters

id
string
required

ID of the crypto asset. Returned by the list sell assets endpoint.

Body

application/json
label
string

A unique name for the wallet address.

bankId
string

Bank identifier from the GET /payments/banks endpoint. Required when accountNumber is provided.

narration
string

A short note included with bank settlement payouts. Maximum 32 characters.

accountNumber
string

Bank account number for settlement payouts. Required when bankId is provided.

Response

Wallet address generated successfully