Skip to main content
POST
/
api
/
v1
/
auth
/
escrow-wallets
Create Escrow Wallet (BitGo Custodial or Self-custody)
curl --request POST \
  --url https://crypto.westminister.tech/api/v1/auth/escrow-wallets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "network": "ethereum",
  "purpose": "remittance_escrow",
  "status": "active",
  "label": "<string>",
  "name": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "network": "ethereum",
  "address": "<string>",
  "status": "<string>",
  "purpose": "<string>",
  "label": "<string>",
  "custody_provider": "self",
  "is_provider_managed": true,
  "provider_wallet_id": "<string>",
  "provider_address_id": "<string>",
  "total_balance": "<string>",
  "available_balance": "<string>",
  "reserved_balance": "<string>",
  "last_reconciled_at": {
    "Time": "2023-11-07T05:31:56Z",
    "Valid": true
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.crypto.westminister.tech/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
network
enum<string>
required
Available options:
ethereum,
tron
purpose
enum<string>
required
Available options:
remittance_escrow,
order_escrow,
platform_reserve,
testing,
other
status
enum<string>

Defaults to active when omitted.

Available options:
active,
inactive,
suspended
label
string

BitGo wallet label when using BitGo custody. Provide label or name.

Maximum string length: 512
name
string

Alias for label when label is empty.

Maximum string length: 512

Response

Created

id
string<uuid>

Escrow wallet ID.

network
enum<string>

Network name.

Available options:
ethereum,
tron
address
string

Chain address.

status
string

Escrow wallet status (e.g.

purpose
string

Escrow role (e.g.

label
string

Human-readable label stored with the row.

custody_provider
enum<string>
Available options:
self,
bitgo
is_provider_managed
boolean
provider_wallet_id
string

BitGo wallet id when custody is bitgo.

provider_address_id
string

BitGo address id when custody is bitgo.

total_balance
string

Total balance.

available_balance
string

Available balance.

reserved_balance
string

Reserved balance.

last_reconciled_at
object
created_at
string<date-time>
updated_at
string<date-time>