Customer
Retorna todos os clientes cadastrados
Responses
200
Successful operation
application/json
get
/customerGET /v2/customer HTTP/1.1
Host:
Accept: */*
200
Successful operation
[
{
"wallet": "0xe69d9b02e31da15cf78184078e250633b69753cc",
"cpfCnpj": "123.456.789-01",
"balance": 123.45
}
]Body
walletstringRead-onlyOptionalExample:
Endereçco da carteira do cliente no sistema.
0xe69d9b02e31da15cf78184078e250633b69753cccpfCnpjstringRequiredExample:
O CPF ou CNPJ do cliente.
123.456.789-01balancenumber · doubleRead-onlyOptionalExample:
A quantidade de real tokenizado do cliente.
123.45Responses
200
Successful operation
application/json
post
/customerPOST /v2/customer HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"cpfCnpj": "123.456.789-01"
}200
Successful operation
{
"wallet": "0xe69d9b02e31da15cf78184078e250633b69753cc",
"cpfCnpj": "123.456.789-01",
"balance": 123.45
}Path parameters
customerWalletstringRequired
Carteira do Cliente que está realizando a operação
Responses
200
Successful operation
application/json
get
/customer/{customerWallet}GET /v2/customer/{customerWallet} HTTP/1.1
Host:
Accept: */*
200
Successful operation
{
"wallet": "0xe69d9b02e31da15cf78184078e250633b69753cc",
"cpfCnpj": "123.456.789-01",
"balance": 123.45
}Path parameters
customerWalletstringRequired
Carteira do Cliente que está realizando a operação
Body
amountnumber · doubleRequiredExample:
A quantidade de real tokenizado de todos os clientes do banco.
123.45Responses
200
Successful operation
application/json
post
/customer/{customerWallet}POST /v2/customer/{customerWallet} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"amount": 123.45
}200
Successful operation
{
"wallet": "0xe69d9b02e31da15cf78184078e250633b69753cc",
"cpfCnpj": "123.456.789-01",
"balance": 123.45
}