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.comCurrency
All amounts are in GMD.
Wallet debit
amount + fee - discount
Endpoints at a glance
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.
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
- 01Check your wallet balance.
- 02Load the revenue types.
- 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.
- 04Show the total (amount + fee - discount) before you pay.
- 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
/v1/government-service/revenue-typesList 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.
curl --location 'https://api.waychit.com/v1/government-service/revenue-types' \
--header 'Authorization: Bearer {{api_key}}' \
--header 'Accept: application/json'Response
{
"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
| Key | Type | Description |
|---|---|---|
| revenueType | string | Name of the government service |
| revenueCode | string | Code to send on the payment |
| ministryName | string | Ministry that receives the payment |
| amount | number | null | Fixed price in GMD, or null when the customer enters the amount |
| fee | number | Waychit fee, present on fixed-price types |
| discount | number | Discount already applied, present on fixed-price types |
Payment Statuses
pendingDebited, payment in progress. Retry with the same idempotencyKey.
succeededGovernment service paid.
failedThe debit did not apply. Your wallet was not charged.
refundedPayment failed and your wallet was credited back.
Error Handling
Missing or invalid API key.
Insufficient balance, unknown revenue type, amount mismatch, or payment failed.
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.