GET
/
prices
curl --request GET \
  --url https://pay.chargily.net/test/api/v2/prices \
  --header 'Authorization: Bearer <token>'
{
   "livemode": false,
   "current_page": 1,
   "data": [
      {
         "id": "01hhy57e5j3xzce7ama8gtk7m0",
         "entity": "price",
         "amount": 200,
         "currency": "dzd",
         "metadata": null,
         "created_at": 1702892910,
         "updated_at": 1702892910,
         "product_id": "01hhy57dnhxf6pq4zcmw7tjnp6"
      },
      {
         "id": "01hhy57e5j3xzce7ama8gtk7m0",
         "entity": "price",
         "amount": 200,
         "currency": "dzd",
         "metadata": null,
         "created_at": 1702892910,
         "updated_at": 1702892910,
         "product_id": "01hhy57dnhxf6pq4zcmw7tjnp6"
      }
   ],
   "first_page_url": "https://pay.chargily.net/test/api/v2/customers?page=1",
   "last_page": 1,
   "last_page_url": "https://pay.chargily.net/test/api/v2/customers?page=1",
   "next_page_url": null,
   "path": "https://pay.chargily.net/test/api/v2/customers",
   "per_page": 10,
   "prev_page_url": null,
   "total": 2
}

Query parameters

per_page
integer

A numeric value indicating the quantity of prices to be returned with the request, with a minimum value of 1 and a maximum value of 50.

Returns

A key-value array, containing a data property which is an array of prices, limited to a maximum of per_page value.