API ReferenceControl numbers
Get a Control Number
GET
One Control Number and the payments received on it. Only payments with status verified are money received; pending_verification and under_review are not. Requires control_number:read.
BearerAuthheader
AuthorizationBearer <token>Secret API key: tp_test_. or tp_live_.. Server-side only.
id*stringFormat
uuidControl Number with payments
curl -X GET 'https://api.teepay.me/v1/control-numbers/7c0e5d2a-1b3f-4c8e-9a6d-2f4b8e1c0d9a'Example Response
Empty
Create a Control Number POST
Issues a Tanzanian Control Number (TZS) for a bill or a customer. 201 returns the number; 202 means issuance is still in progress, so retry with the same Idempotency-Key, never a new one. Requires control_number:create and approved Control Number access.
List Control Numbers GET
Your Control Numbers with amounts collected and remaining. Requires control_number:read.