NAV

Introduction

Welcome to the JointPesa API! You can use our API to access JointPesa API endpoints, which can get information on various transcations_id, item_name, amount, and description in our database.

The API is language binding!

Create account and login

JointPesa uses escrow buttons to allow access to the API. You can register a JointPesa Account.

Login and head to the API page start

Escrow Button

Create an Escrow Button

Parameter Description
Item Name Name of the Item
Item Decription Item Metadata or descriptioon
Third Party transaction ID In case your system has its own Transaction ID
Amount The Item Amount
Button Name Button Link
55 Inch Button Buy with Escrow

Errors

The JointPesa Escrow API uses the following error codes:

Error Code Meaning
400 Bad Request -- Your request is invalid.
401 Unauthorized -- Your API key is wrong.
403 Forbidden -- The transaction requested is hidden for administrators only.
404 Not Found -- The specified transaction could not be found.
405 Method Not Allowed -- You tried to access a transaction with an invalid method.
406 Not Acceptable -- You requested a format that isn't json.
410 Gone -- The transaction requested has been removed from our servers.
418 I'm a teapot.
429 Too Many Requests -- You're requesting too many transactions! Slow down!
500 Internal Server Error -- We had a problem with our server. Try again later.
503 Service Unavailable -- We're temporarily offline for maintenance. Please try again later.