GoDigital
Getting started

Introduction

The GoDigital Payments API gives you one merchant-facing API for mobile money payments across Tanzania's networks: YAS, Vodacom, Airtel and Halotel. You name the network with providerCode, and GoDigital picks the best internal route for you.

Want to try it right away?

Save your sandbox credentials on the Sandbox Credentials page, then send real requests from the API Reference.

What you can do

CapabilityEndpointWhat happens
C2B push collectionPOST /payments/collections/pushThe customer gets a USSD prompt to approve a payment.
B2C disbursementPOST /payments/disbursementsMoney moves from your disbursement wallet to a customer.
Transaction statusGET /payments/{reference}Returns the latest normalized status of a payment.
Balance enquiryGET /payments/wallets/balance/{clientId}Returns real-time wallet balances.
Name checkGET /payments/name-checkReturns the registered name behind a mobile number.
CallbacksYour HTTPS endpointReceives the final result of every payment.

Base URLs

EnvironmentBase URL
UAT / Sandboxhttps://api-sandbox.godigital.tz/api/v1
Productionhttps://{BASE_URL}/api/v1 (shared at go-live)

Use separate credentials and callback URLs for UAT and production.

API style

StandardRule
ProtocolHTTPS only
Payload formatJSON, UTF-8
AuthenticationOAuth2 bearer access token. Optional HMAC request signature.
IdempotencyRequired for payment creation endpoints
Date and timeISO-8601 with timezone in responses
AmountsDecimal numbers without thousands separators, e.g. 25000.00
CurrencyTZS (Tanzania Shillings)

Response envelope

Every response uses the same envelope. status tells you whether the API call was processed; for the payment outcome, always read data.transactionStatus.

JSONCode
{ "status": "SUCCESS", "code": "PGW-0000", "message": "Request processed successfully", "requestId": "a15c1e07-5e8f-4d45-a533-f1a57ad7c9d9", "timestamp": "2026-04-19T21:15:33+03:00", "data": {} }

Acknowledgement is not the final result

Collections and disbursements are asynchronous. A SUCCESS response with PGW-0000 only means the request was accepted. The final outcome arrives on your callback, or you can query the transaction.

Last modified on