Create Payment Link v3
The new version of the Create Payment Link API allows you to pass customer details -such as name, email, or phone number - so that the generated payment link is prefilled with this information.
signature whenever you are creating a new balance request.Currency Country ID (Optional)
currency_country_id identifies the country of the payer (customer), based on the selected currency. It is used to support multi-country currency scenarios and ensures payments are routed correctly depending on the payer’s location.
For backward compatibility, this field is optional; if omitted the system will infer the country from currency and country_id where possible.List of Supported Countries
| Country Id | Country | Country Code | Currency | Payment Method type | Required Fields |
|---|---|---|---|---|---|
| 1 | Kenya | 254 | KES | till number, pay bill, pesalink, send money | country_id, currency |
| 2 | Benin | 229 | XOF | mtn | country_id, currency |
| 3 | Cote D’Ivoire | 225 | XOF | mtn, Orange | country_id, currency |
| 4 | Cameroon | 237 | XAF | mtn, Orange | country_id, currency |
| 9 | Senegal | 221 | XOF | Orange, Free | country_id, currency |
| 10 | Tanzania | 255 | TZS | Airtel, Halotel, Tigo | country_id, currency |
| 11 | Uganda | 256 | UGX | mtn, Airtel | country_id, currency |
| 12 | Zambia | 260 | ZMW | Zamtel, mtn | country_id, currency |
| 13 | Sierra Leone | 232 | SLE | Orange | country_id, currency |
| 16 | Ghana | 233 | GHS | mtn, AT, Vodafone | country_id, currency |
| 17 | Nigeria | 234 | NGN | bank | country_id, currency |
Body
Payload for creating a payment link for API
The Client id is your public key which is generated when you are creating a new API integration from our app.
"K1PoY1WYricSpXh6Wm24twnk6ecPJOWrHGsqiKJr"
Salt is used for security purposes. This is a random string and can be unique value for each request or always the same.
"justrandomstring"
The Sender is the title of the API Integration which was created through our app. you can just copy this title and use it whenever making a new signature
"John.co"
this is the current timestamp when the request is being made
1709363033
"2193d01d50d4bd5da234ac0e0add5d4ccb40907a1b1ab27a12d2c1d88a5d5807"

