This little service allows you to accepts ecocash payments on your website through Paynow, without you having to worry about the programming. Before using this service you must be registered with Paynow and have your ID and Key at the ready.
This service only has one endpoint POST /v1/payments
. Here's the base URL https://paynow-ecocash-payments.herokuapp.com
, you can also use it to discover the API on your own.
paynow_integration_id
: The ID of your integration as provided by Paynow. This field is requiredpaynow_integration_key
: Your Paynow integration key as provided by paynow. This field is requiredcustomer_number
: The EcoCash phone number of the user you're charging in the format 0777777777. This field is requiredamount
: The amount you're charging the user/customer. Example 700.98. This field is requiredresult_url
: For applications which listen for the pyanow update and don't poll for a result. This the url paynow will post to. This field is optional
Here's a screenshot for reference
That's all.