| Name | Type | Description | Notes |
|---|---|---|---|
| short_code | int | Usually, a unique number is tagged to an M-PESA pay bill/till number of the organization. | |
| response_type | str | This parameter specifies what is to happen if for any reason the validation URL is not reachable. Note that, this is the default action value that determines what M-PESA will do in the scenario that your endpoint is unreachable or is unable to respond on time. Only two values are allowed: Completed or Cancelled. Completed means M-PESA will automatically complete your transaction, whereas Cancelled means M-PESA will automatically cancel the transaction, in the event M-PESA is unable to reach your Validation URL. | |
| confirmation_url | str | This is the URL that receives the confirmation request from API upon payment completion. | |
| validation_url | str | This is the URL that receives the validation request from the API upon payment submission. The validation URL is only called if the external validation on the registered shortcode is enabled. (By default External Validation is disabled). |