GET
/
charges
curl --request GET \
  --url https://api.onepay.la/v1/charges \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "9e028bd9-755f-4069-8742-7727d0dc4047",
      "title": "recusandae placeat et",
      "amount": 1000,
      "amount_label": "$1.000",
      "source": "charge",
      "status": "pending",
      "currency": "COP",
      "payment_method_type": "CreditCard",
      "payment_method_id": "9e028bd9-74b0-4eda-a121-ab3d59909ce7",
      "created_at": "2025-01-20T01:48:54.000000Z",
      "paid_at": null,
      "remarks": null,
      "is_test": true
    }
  ],
  "current_page": 1,
  "from": 1,
  "last_page": 5,
  "per_page": 15,
  "to": 15,
  "total": 75
}
{
  "data": [
    {
      "id": "9e028bd9-755f-4069-8742-7727d0dc4047",
      "title": "recusandae placeat et",
      "amount": 1000,
      "amount_label": "$1.000",
      "source": "charge",
      "status": "pending",
      "currency": "COP",
      "payment_method_type": "CreditCard",
      "payment_method_id": "9e028bd9-74b0-4eda-a121-ab3d59909ce7",
      "created_at": "2025-01-20T01:48:54.000000Z",
      "paid_at": null,
      "remarks": null,
      "is_test": true
    }
  ],
  "current_page": 1,
  "from": 1,
  "last_page": 5,
  "per_page": 15,
  "to": 15,
  "total": 75
}