POST
/
wallets
curl --request POST \
  --url https://api.live.paisr.tech/{version}/wallets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Acme Cash",
  "icon": "vault"
}'
{
  "success": true,
  "data": {
    "id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
The details required to create a wallet.
title
string

Short title or name for the wallet.

Example:

"Acme Cash"

icon
enum<string>

Custom icon slug.

Available options:
bitcoin,
blend,
dollar-sign,
flame,
gem,
headset,
heart,
infinity,
landmark,
leaf,
piggy-bank,
pyramid,
snowflake,
sparkles,
tree-palm,
trophy,
vault,
wallet,
zap
Example:

"vault"

Response

200
application/json
Successfully created wallet.
success
boolean
default:true

Indicates if the request was successful.

data
object