Dear Community,
Weโre thrilled to announce the release of the new Pesapal Adaptor v1.0.0, designed to enable you make payments much easier and faster than ever.
You can read the full details of the new Adaptor here.
Features
- Generic HTTP Request API
Write flexible jobs that interact with any Pesapal API resource.
- Make a
POST
request to Pesapal to send an order request
post('Transactions/SubmitOrderRequest',
{
"id": "TEST-05",
"currency": "KES",
"amount": "1",
"description": "Testing",
"callback_url": "https://www.myapplication.com/response-page",
"notification_id": "fe078e53-78da-4a83-aa89-e7ded5c456e6",
"billing_address": {
"email_address": "john.doe@example.com",
"phone_number": "0712xxxxxx",
"country_code": "",
"first_name": "Doe",
"middle_name": "",
"last_name": "John",
"line_1": "",
"line_2": "",
"city": "",
"state": "",
"postal_code": "",
"zip_code": ""
}
})
- Make a
GET
request to Pesapal to get all registered IPN URLs for a merchant
get('URLSetup/GetIpnList')
Example Workflow
Hereโs a real-world example from our Solutions Engineer โ a workflow that fetches customer order data from GoogleSheets and sends a payment request to each customer.