Collection
This endpoint processes collection payment from 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 | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
201payment created successfully
| ||||||||||||||
400Bad request, such as invalid input
| ||||||||||||||
401Unauthorized access
| ||||||||||||||
500Internal Server Error
|