Wallet API

Crea una wallet pagadora para un cliente

Crear una wallet pagador

POST /hooks/clients/:client_id/wallets

Parameters

Name Description
address Address de la wallet
currency ID currency (solo son validas las fiat = false)
crypto_network Nombre de la red

Request

Headers

Content-Type: application/json
Authorization: <integration-token>
Authorization-Client: Bearer <jwt-token>
Host: example.org
Cookie: 

Route

POST /hooks/clients/100/wallets

Body

{"address":"1x1x1x1x1x1x1x1x1x1x1x1x","currency":"usdt","crypto_network":"eth"}

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/json; charset=utf-8
ETag: W/"ce44044ee93eecc036965eb1fe770e7a"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 987e13bf-1f3f-42db-9b70-8199fc156c69
X-Runtime: 0.045230
Vary: Origin
Content-Length: 224

Status

200 OK

Body

{
  "data": {
    "id": 10,
    "address": "1x1x1x1x1x1x1x1x1x1x1x1x",
    "created_at": "2023-04-28T21:44:59.815Z",
    "updated_at": "2023-04-28T21:44:59.815Z",
    "crypto_network_id": 6,
    "user_type": "User",
    "user_id": 100,
    "deleted": false,
    "deleted_at": null
  }
}