Settlements Banks
The Settlements API allows you to create and manage settlement banks on your integration.
Store Settlement Bank
Store a new settlement bank.
Headers
Content-Type
application/json
DPPRIVATEKEY
PRIVATE_KEY
Body Parameters
name
string
Public key of the customer.
account_no
number
account number of the settlement bank.
account_name
string
account name of the settlement bank.
bank_code
string
bank code for the settlement bank.
bank_slug
string
Slug for the settlement bank
Sample Request
curl --location 'https://api.backend.dotapay.ng/api/v1/settlement-banks/' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data '{
"name": "Jane Doe",
"account_no": "1234567890",
"account_name": "Jane Doe",
"bank_code": "044",
"bank_slug": "access-bank"
}
'const axios = require('axios');
let data = JSON.stringify({
"name": "Jane Doe",
"account_no": "1234567890",
"account_name": "Jane Doe",
"bank_code": "044",
"bank_slug": "access-bank"
});
let config = {
method: 'post',
maxBodyLength: Infinity,
url: 'https://api.backend.dotapay.ng/api/v1/settlement-banks/',
headers: {
'Authorization': 'Bearer ',
'Content-Type': 'application/json'
},
data : data
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Update Settlement Banks
Update details of a single settlement bank.
Headers
Content-Type
application/json
DPPRIVATEKEY
PRIVATE_KEY
Body Parameters
name
string
Public key of the customer.
account_no
number
account number of the settlement bank.
account_name
string
account name of the settlement bank.
bank_code
string
bank code for the settlement bank.
bank_slug
string
Slug for the settlement bank
Path Parameters
identifier String
The settlement bank ID is used to update the settlement bank details.
Single Settlement Banks
Get single settlement bank.
Headers
Content-Type
application/json
DPPRIVATEKEY
PRIVATE_KEY
Path Parameters
identifier String
The settlement bank ID is used to fetch the settlement bank details.
Settlement Banks List
Get the list of all settlement banks.
Headers
Content-Type
application/json
DPPRIVATEKEY
PRIVATE_KEY
Sample Request
Last updated