Kriptostores API

Calcula el monto a pagar.

Calcular el monto a pagar

POST /public/kriptostores/calculate

Parameters

Name Description
crypto_network_id Id de crypto network
fiat_price Monto en moneda fiat
fiat Moneda fiat

Request

Headers

Content-Type: application/json
Host: example.org
Cookie: 

Route

POST /public/kriptostores/calculate

Body

{"crypto_network_id":1,"fiat_price":"10000","fiat":"ars"}

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/"e0fca9ec7ff6380d5fc47d0dea2122ec"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 82b39b01-d1cc-4f4f-bdf9-f56d5d9bd92a
X-Runtime: 0.042079
Vary: Origin
Content-Length: 143

Status

200 OK

Body

{
  "data": {
    "sub_total": 68.64,
    "costs": 5.15,
    "total": 73.79,
    "commissions": {
      "percentage": 5.0,
      "amount": 3.43
    },
    "taxes": {
      "percentage": 2.5,
      "amount": 1.72
    }
  }
}