Skip to main content
    Developers
    Get the App

    API documentation, Government Service

    Pay government
    services.

    Let your customers pay Gambian government services from your own platform and hand them an assessment number and payment tax number straight away.

    The Waychit Government Service API lets merchants, agents, and platforms pay GovPay revenue types such as business registration and stamp duty in The Gambia. Amounts are in GMD and your wallet is debited by amount plus fee minus discount.

    Base URL

    https://api.waychit.com

    Currency

    All amounts are in GMD.

    Wallet debit

    amount + fee - discount

    Endpoints at a glance

    http
    GET  /v1/balance
    GET  /v1/government-service/revenue-types
    GET  /v1/government-service/fee?amount=
    POST /v1/government-service/payments
    GET  /v1/government-service/payments/:id
    GET  /v1/government-service/payments?clientReference=

    Authentication

    Every request is authenticated with your merchant API key over HTTPS.

    http
    Authorization: Bearer <api_key>

    Important: Call this API from your own servers only. Never expose the key in client-side code. There is no sandbox, every payment moves real funds.

    Flow and fees

    1. 01Check your wallet balance.
    2. 02Load the revenue types.
    3. 03If the type has an amount, use its amount, fee, and discount. If amount is null, the customer enters an amount and you call the fee lookup.
    4. 04Show the total (amount + fee - discount) before you pay.
    5. 05Create the payment with an idempotencyKey. Hand the customer the assessmentNo and paymentTaxNumber.

    Waychit fee by amount

    Up to D1,000

    D5

    D1,001 to D10,000

    D10

    Above D10,000

    D15

    Example: Stamp Duty of D2,500 costs 2500 + 10 - 0 = D2,510. Discounts are already applied in the responses.

    API Endpoints

    GET/v1/government-service/revenue-types

    List the government services you can pay. Fixed-price types include amount, fee, and discount. When amount is null the customer chooses it, so call the fee lookup before paying.

    bash
    curl --location 'https://api.waychit.com/v1/government-service/revenue-types' \
    --header 'Authorization: Bearer {{api_key}}' \
    --header 'Accept: application/json'

    Response

    json
    {
      "success": true,
      "message": "Revenue types fetched successfully.",
      "data": [
        {
          "revenueType": "Business Registration",
          "revenueCode": "BR-1",
          "ministryName": "Ministry of Justice",
          "amount": 420,
          "fee": 5,
          "discount": 0
        },
        {
          "revenueType": "Stamp Duty",
          "revenueCode": "SD-1",
          "ministryName": "Ministry of Finance",
          "amount": null
        }
      ]
    }

    Returned attributes

    KeyTypeDescription
    revenueTypestringName of the government service
    revenueCodestringCode to send on the payment
    ministryNamestringMinistry that receives the payment
    amountnumber | nullFixed price in GMD, or null when the customer enters the amount
    feenumberWaychit fee, present on fixed-price types
    discountnumberDiscount already applied, present on fixed-price types

    Payment Statuses

    pending

    Debited, payment in progress. Retry with the same idempotencyKey.

    succeeded

    Government service paid.

    failed

    The debit did not apply. Your wallet was not charged.

    refunded

    Payment failed and your wallet was credited back.

    Error Handling

    401

    Missing or invalid API key.

    400

    Insufficient balance, unknown revenue type, amount mismatch, or payment failed.

    404

    Payment not found.

    Changelog

    2026-10-11

    • Government service catalog, fee lookup, and payment.

    Get started

    Take government
    payments.

    Get your API keys, fund your wallet, and start paying government services for your customers.