Kriptopayments API

Crea un registro de de kriptospayment

Crea un registro de de kriptopayments.

POST /internal/clients/kriptopayments

Parameters

Name Description
fiat_price Precio en moneda fiat
fiat Moneda fiat
crypto_network_id Red que se usara para el pago
reference Referencia
front_file Form-Data File
back_file Form-Data File

Request

Headers

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

Route

POST /internal/clients/kriptopayments

Body

{"fiat_price":20000,"fiat":"ars","crypto_network_id":1,"reference":"Cualquier cosa","front_file":{"original_filename":"test.jpg","tempfile":"#\u003cFile:0x00007fb1d3eaa7e0\u003e","content_type":"text/plain"},"back_file":{"original_filename":"test.jpg","tempfile":"#\u003cFile:0x00007fb1d3ea91b0\u003e","content_type":"text/plain"}}

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/"a5d60b05bde9345322992517fd79f852"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 11eef7cc-1cf1-4a02-bff6-7c04b05a194f
X-Runtime: 0.238295
Vary: Origin
Content-Length: 110

Status

200 OK

Body

{
  "data": {
    "url": "http://localhost:3000/pay?token=INFR8yJBfLl56vc0RajQ",
    "external_code": "INFR8yJBfLl56vc0RajQ"
  }
}