Payment Links API

Endpoints para link de pagos

Usar un link de pago y setearle una crypto red

POST /pay/payment_links/:payment_link_token

Parameters

Name Description
crypto_network_id Id de la crypto red a usar

Request

Headers

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

Route

POST /pay/payment_links/PL-r2dxc2bV0tcUdlgYXYZ9

Body

{"crypto_network_id":1}

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/"9c8ad7ef257499d5f180ac4a3a982755"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 57495ba0-3dfc-4b73-be82-2611ae8f9789
X-Runtime: 0.137420
Vary: Origin
Content-Length: 101

Status

200 OK

Body

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