View a slip image

On this page

Get a branded slip as a PNG image

Use GET /v1/view/image to download the same bet slip as a branded PNG. A PNG view costs 2 API credits, the API charges only after a successful render so a failed image costs 0 credits, and the response headers carry the code, bookmaker key, and current credit state.

Request
curl "https://api.managebetcodes.app/v1/view/image?code=7B9A2F&bookmaker=sportybet" \
  -H "X-API-Key: mbc_live_your_key" \
  -o 7B9A2F.png
Response 200 headers
Content-Type: image/png
Content-Disposition: inline; filename="7B9A2F.png"
X-MBC-Code: 7B9A2F
X-MBC-Bookmaker: sportybet
X-MBC-Credits-Charged: 2
X-MBC-Credits-Used: 14
X-MBC-Credits-Limit: 5000
X-MBC-Credits-Reset: 2026-12-01T00:00:00Z

What each image response header means

HeaderMeaning
X-MBC-CodeThe code in the image.
X-MBC-BookmakerThe source bookmaker key.
X-MBC-Credits-ChargedThe credits for this image.
X-MBC-Credits-UsedThe total used in the current API credit period.
X-MBC-Credits-LimitThe credit limit for the period.
X-MBC-Credits-ResetThe period reset time.

What does a PNG view cost and what happens when the renderer is down

A PNG view costs 2 API credits and returns one image. A failed image view costs 0 credits because the API charges only after a successful render.

If the renderer is down, the API returns 503 renderer_unavailable. Error responses use the JSON error envelope, not a broken image.

Related pages

Bet Slip View & Data APIErrorsLimits