v1

latestOpenAPI 3.0.02026-07-24231140.6 KB
Products

Retrieve a single product by id.

get/products/{id}

Path parameters

idstring required

Id of the product to be retrieved.

Response

Success

Example response

{
  "meta": {
    "id": "test-gift-card-code",
    "_endpoint": "/products/test-gift-card-code"
  },
  "data": {
    "id": "test-gift-card-link",
    "name": "Test Gift Card Link",
    "country_code": "KN",
    "country_name": "St Kitts and Nevis",
    "currency": "USD",
    "created_time": "2021-10-04T17:02:22.768Z",
    "recipient_type": "none",
    "image": "https://res.cloudinary.com/bitrefill/d_operator.png/this_is_a_test",
    "in_stock": true,
    "packages": {
      "id": "test-gift-card-link<&>10",
      "price": 12
    },
    "range": {
      "min": 10,
      "max": 100,
      "step": 10,
      "price_rate": 1.2
    }
  }
}