CreddotDocsCreddot Docs

List bill categories

Uses the environment attached to the API key. VTpass is selected by default; pass FLUTTERWAVE to use the secondary provider.

GET
/api/v1/bills/categories

Uses the environment attached to the API key. VTpass is selected by default; pass FLUTTERWAVE to use the secondary provider.

Authorization

api-key
headerx-api-key<token>

Your API key: ck_test_... for test mode, ck_live_... for live. Send it with x-api-secret (or Authorization: Bearer ).

Query Parameters

provider?string
Default"VTPASS"
Value in"VTPASS""FLUTTERWAVE"

Header Parameters

x-api-secret?string

Recommended: API secret sent over HTTPS. You may send it as Authorization: Bearer instead. If supplied, x-timestamp and x-signature are not required.

x-timestamp?string

Legacy signed mode: Unix time in milliseconds; maximum clock skew five minutes.

x-signature?string

Legacy signed mode: HMAC-SHA256(secret, timestamp.METHOD.url.idempotencyKey.bodyHash).

Response Body

application/json
  1. response
provider*string
Value in"VTPASS""FLUTTERWAVE"
environment*string
Value in"SANDBOX""LIVE"
items*array<>
Example Request
curl -X GET 'https://api.creddot.com/api/v1/bills/categories'
Example Response
{  "provider": "VTPASS",  "environment": "SANDBOX",  "items": [    {      "code": "string",      "name": "string",      "description": "string",      "amountMinor": "string",      "fixedPrice": true,      "customerFieldLabel": "string",      "imageUrl": "string"    }  ]}