Payments API

Endpoints para pagos

Crear un pago

POST /pay/payments

Crea un pago y retorna una url de invoice

Parameters

Name Description
description Descripcion o referencia
fiat Moneda (solo fiat)
crypto_network_id Red por la cual se procesara el pago
amount Monto
email email - telegram

Request

Headers

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

Route

POST /pay/payments

Body

{"description":"Pago de caramelos","fiat":"ars","crypto_network_id":14,"amount":20.0,"email":"test@gmail.com"}

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/"fcd4e0435256dd8a00cf00133b9ea18a"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 7f3b2979-a968-42c1-8b52-e2d252af8614
X-Runtime: 0.119198
Vary: Origin
Content-Length: 117

Status

200 OK

Body

{
  "url": "https://btcpay.kriptonmarket.com/invoice?id=WUjtVDi7aDcvcTRoNFQBGS",
  "external_code": "WUjtVDi7aDcvcTRoNFQBGS"
}