POST
/
api
/
v1
/
wallets
/
generate-wallet
Create wallet
curl --request POST \
  --url https://secureapi.dyrectpay.com/api/v1/wallets/generate-wallet \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-signature: <api-key>' \
  --header 'x-timestamp: <api-key>' \
  --data '
{
  "token": "usdt",
  "name": "Main USDT Wallet"
}
'
{
  "status": "success",
  "message": "Success",
  "data": {
    "_id": "wallet_id",
    "token": "usdt",
    "status": "active"
  }
}

Authorizations

x-api-key
string
header
required

API key issued to your integration.

x-timestamp
string
header
required

Request timestamp used for signature verification.

x-signature
string
header
required

Request signature generated by your backend.

Body

application/json
token
string
required

Supported asset reference, for example usdt, bitcoin, or naira.

Example:

"usdt"

name
string
Maximum string length: 80
Example:

"Main USDT Wallet"

Response

Successful response.

status
string
Example:

"success"

message
string
Example:

"success"

data
any | null

Endpoint-specific response payload.