Skip to content

Reference data

States

Nigerian state codes for supplier, customer and party addresses.

GET{baseUrl}/{stage}/external/{businessId}/resources/states

Retrieve available currencies for a specific business.

Quick Reference

MethodEndpointAuthentication Required
GET{baseUrl}/{stage}/external/businesses/:businessId/resources/statesYes

Request Structure

Path Parameters

businessIdstringrequired
Unique identifier of the businessExample: 26ede24b-ac50-475f-aacc-5ea6339f0863

Headers

Content-Typerequired
application/json or */*
Acceptrequired
application/json or */*
X-Business-Keyrequired

Response Format

Success Response (200)

JSON
{
  "responseCode": "00",
  "responseMessage": "State resources retrieved successfully",
  "data": [
    {
      "name": "Lagos",
      "code": "LA"
    },
    {
      "name": "Ogun",
      "code": "OG"
    },
    {
      "name": "Oyo",
      "code": "OY"
    },
    {
      "name": "Rivers",
      "code": "RI"
    }
  ]
}

Response Data Structure

Currency Object

codestring
ISO currency code (e.g., NGN, USD)
decimalDigitsnumber
Number of decimal places for the currency
namestring
Full currency name
namePluralstring
Plural form of currency name
roundingnumber
Rounding increment (0 = no rounding)
symbolstring
Currency symbol
symbolNativestring
Native currency symbol representation

Error Responses

Error CodeMessageDescription
404Business not foundBusiness ID doesn't exist
403Access deniedUser doesn't have permission
400Invalid business IDBusiness ID format is invalid

Example Error Response

JSON
{
  "responseCode": "404",
  "responseMessage": "Business not found with ID: invalid-business-id",
  "data": null
}

Related Endpoints

  • POST /invoices - Create invoice (uses currency data)
  • GET /businesses/{businessId}/settings - Get business configuration

This endpoint provides currency information for businesses to use in invoices and financial documents.