Get hub offer by its id
cURL
curl --request GET \ --url https://api.toffeepay.com/v1alpha1/offers/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "game_id": "<string>", "title": "<string>", "image": "<string>", "category": "<string>", "status": "inactive", "items": [ { "id": "<string>", "icon": "<string>", "amount": 123 } ], "price": 123, "currency": "USD", "country": "<string>", "wallet_enabled": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "user_id": "<string>", "reference": "<string>", "description": "<string>", "label": "<string>", "stock": 123, "return_url": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
^(https?://|data:)
inactive
active
1
Show child attributes
USD
GBP
EUR
ISO 3166-1 alpha-2: "US", "GB", "DE"
2
^[A-Z]{2}$