SafeWeb
Distributor API

List distributor billing codes

GET
/api/v1/distributors/billing-codes

Query Parameters

page?integer
Range1 <= value
Default1
per_page?integer
Range1 <= value <= 100
Default10

Header Parameters

SW-DISTRIBUTOR-ID*string
SW-API-KEY*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/distributors/billing-codes" \  -H "SW-DISTRIBUTOR-ID: string" \  -H "SW-API-KEY: string"
{  "success": true,  "data": [    {      "id": 1,      "code": "SW-A",      "price": 2.5    },    {      "id": 2,      "code": "SW-B",      "price": 3    }  ],  "pagination": {    "total_count": 40,    "has_next_page": true,    "page": 1,    "per_page": 10  }}