Disbursement
This endpoint processes a user's payment details.
Header Parameters |
---|
apiToken string — REQUIREDSecret key for the project |
Request Body — REQUIRED |
---|
reference stringUnique reference for the payment. Can be left empty if the server generates one. |
description string — REQUIREDDescription of the payment. |
amount integer — REQUIREDAmount of the payment in smallest currency unit (e.g., cents). |
phoneNumber string — REQUIREDThe phone number associated with the payment. |
Responses | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
201 Project created successfully
| ||||||||||||||
400 Bad request, such as invalid input
| ||||||||||||||
401 Unauthorized access
| ||||||||||||||
500 Internal Server Error
|