Payments API

Crea un pago

Datos sobre un payment

GET /hooks/payments

Parameters

Name Description
external_code External code recibido mediante el webhook
token Token recibido mediante el webhook

Request

Headers

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

Route

GET /hooks/payments?external_code=00&token=8wbd1rRUHgWWaGa

Query Parameters

external_code: 00
token: 8wbd1rRUHgWWaGa

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/"c43ea348ae573d614cb6c57835ac2792"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 659df375-8ac2-4054-8cf6-86c628d71ffc
X-Runtime: 0.032870
Vary: Origin
Content-Length: 248

Status

200 OK

Body

{
  "data": {
    "id": 12,
    "total_amount": null,
    "state": "pending",
    "description": null,
    "created_at": "2023-04-28T21:44:56.216Z",
    "payed_at": "2023-04-28T21:44:56.000Z",
    "currency": null,
    "metadata": "{\"tx_hash\":\"jhvjvkjbkjblljkblk\"}",
    "gateway": "Gateways::Bleumi"
  }
}