Orders

Create order

POST {{BASE_URL}}/api/order

Create order using cryptocurrency and network

Parameters

Header

Authorization {{API_KEY}}

Body

currency should be PEN or USD depend on the original currency of the item.

metadata is a free json data where su can send an important info to identify the origin order.

{
  "amount": 20,
  "currency": "PEN",
  "transaction": {
    "customer": {
      "name": "John Doe",
      "email": "sample@gmail.com"
    },
    "networkId": 1,
    "cryptoId": 2
  },
  "metadata": {
    "description": "Curso de criptomonedas",
    "order": "order-001",
    "hash": "curso-001"
  }
}

Responses

🟢 200
🟠 401

Last updated