Payment Links API

Crea un link de pago

Ver info de un link de pago

GET /hooks/payment_links/:payment_link_token

Request

Headers

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

Route

GET /hooks/payment_links/PL-KnE1inv3iw4YsxeHM0Kc

Query Parameters

{}: 

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/"f5849faa9f2d44add67804b1cdc7732d"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f20d38fe-750a-48c1-bc5e-e3ccc3ffda86
X-Runtime: 0.025801
Vary: Origin
Content-Length: 420

Status

200 OK

Body

{
  "data": {
    "id": 2,
    "token": "PL-KnE1inv3iw4YsxeHM0Kc",
    "amount": "1000.0",
    "success_url": "https://test.kriptonmarket.com/success",
    "cancel_url": "https://test.kriptonmarket.com/cancel",
    "notify_url": "https://test.kriptonmarket.com/notify",
    "status": "on_hold",
    "currency_id": "ars",
    "user_id": 10110,
    "order_id": null,
    "expire_at": "2023-04-28T22:14:55.000Z",
    "created_at": "2023-04-28T21:44:55.464Z",
    "updated_at": "2023-04-28T21:44:55.464Z"
  }
}