Charge By Transfer
{{URL}}/api/cps/v1/initiateBankTransfer
ACCOUNT PAYMENT METHOD
The ACCOUNT payment method allows users to make payments by initiating a bank transfer. The following steps outline the process:
- 1The ACCOUNT payment method allows users to make payments by initiating a bank transfer. The following steps outline the process:
- 2Call the Create Payment endpoint to initiate a payment transaction.
- 3Call the Pay with Transfer endpoint with the necessary details to obtain the account number for the bank transfer.
- 4Make a transfer to the account number received from the response.
- 5If a callbackUrl is provided in the create payment payload, you will receive transaction notifications.
- 6Call the Get Transaction Status endpoint to check the status of the transaction.
AUTHORIZATION
| Username | Password |
| Username | {{USERNAME}} |
| Password | {{SECRETKEY}} |
BODY PARAMS
{
"customerName": "customername",
"reference": "rexpaydoc2",
"amount": "100",
"customerId": "yourcustomermail@gmail.com"
}Request Parameters
| Name | Type | Description | Optional Mandatory |
| amount | Number | Transaction Amount | true |
| transactionReference | String | Transaction reference id | true |
| accountNumber | Number | Transaction account number | true |
| accountName | String | Name of recipient | true |
| bankName | String | Name of recipient's bank | true |
| responseCode | Number | Status code of request | true |
| responseDescription | Number | Status description of request | true |
Example Request
{
"amount": "101.50",
"transactionReference": "rexpaydoc2",
"accountNumber": "8767949853",
"accountName": "John Doe",
"bankName": "WEMA",
"responseCode": "00",
"responseDescription": "Success"
}Response Parameters
| Name | Type | Description | Optional Mandatory |
| amount | Number | Transaction Amount | true |
| transactionReference | String | Transaction reference id | true |
| accountNumber | Number | Transaction account number | true |
| accountName | String | Name of recipient | true |
| bankName | String | Name of recipient's bank | true |
| responseCode | Number | Status code of request | true |
| responseDescription | Number | Status description of request | true |
Example Response
{
"amount": "101.50",
"transactionReference": "rexpaydoc2",
"accountNumber": "8767949853",
"accountName": "John Doe",
"bankName": "WEMA",
"responseCode": "00",
"responseDescription": "Success"
}Did you find this page helpful?