Add Wallet

post
Add Wallet

https://api.payant.ng/wallets
Request
Response
Headers
Authorization
required
string
Payant secret key prefixed with "Bearer "
Body Parameters
settlementSchedule
required
string
Settlement schedule for wallet T1 or MANUAL
name
required
string
Wallet's name
settlementCurrency
required
string
Settlement currency NGN
settlementBank
required
string
Wallet's settlement bank
accountNumber
required
string
Wallet's account number
200: OK
{
"status": "success",
"message": "Wallet was added successfully.",
"data": {
"company_id": 1,
"name": "John Doe Wallet",
"balance": "0.00",
"currency": "NGN",
"status": "1",
"reference_code": "PMojL342gd",
"status": "1",
"created_at": "2017-07-27 08:10:33",
"updated_at": "2017-07-27 08:10:33",
"id": 1
}
}

Request

curl https://api.payant.ng/wallets \
-H "Content-Type: application/json" \
-H "Authorization: Bearer SECRET_KEY" \
-d '{ "name": "John Doe Wallet",
"settlementCurrency": "NGN",
"settlementBank": "000013",
"accountNumber": "0123456789",
"settlementSchedule": "MANUAL" }' \
-X POST

Response

{
"status": "success",
"message": "Wallet was added successfully.",
"data": {
"company_id": 1,
"name": "John Doe Wallet",
"balance": "0.00",
"currency": "NGN",
"status": "1",
"reference_code": "PMojL342gd",
"status": "1",
"created_at": "2017-07-27 08:10:33",
"updated_at": "2017-07-27 08:10:33",
"id": 1
}
}