Crea un link de pago
Content-Type: application/json Authorization: <integration-token> Host: example.org Cookie:
GET /hooks/payment_links/PL-KnE1inv3iw4YsxeHM0Kc
{}:
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
200 OK
{
"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"
}
}