POST /api/address/create

Post Reply
K
Posts: 267

POST /api/address/create

Post by K » Fri Sep 22, 2017 12:34 am

Criar um novo endereço

URL:
https://cesc.trade/api/address/create

Headers:
Default

Parâmetros:
  • Authorization - Chave da API
  • metadata - Dados
  • coin_id - id do asset
  • callback_url - url a ser notificado quando o endereço aparecer no blockchain. Não disponível.

cURL:

Code: Select all


curl -vX POST \
  'https://cesc.trade/api/address/create' \
  -H 'accept: application/vnd.cesc-trade.v1+json' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/x-www-form-urlencoded'
  -d 'Authorization=XXXX&metadata=QUALQUER%20COISA%201578104656&coin_id=3'


Resposta:

Code: Select all

{
    "data": {
        "address": "CLmmk7eQiuzDW9bXjJMMQimbBwvnGceQpC",
        "coin_id": 3,
        "address_type": "callback",
        "external_id": "5e0ff6eb2c7c7",
        "callback_url": null,
        "metadata_length": 25,
        "created_at": {
            "date": "2020-01-04 02:22:35.000000",
            "timezone_type": 3,
            "timezone": "UTC"
        }
    }
}
Developer / Founder @ https://cesc.trade/u/K?amount=0.65e Café?

K
Posts: 267

Re: /orderbook/3/create

Post by K » Fri Sep 22, 2017 12:34 am

Reserved - EN VERSION
Developer / Founder @ https://cesc.trade/u/K?amount=0.65e Café?

Post Reply