POST  Add Wallet


Resource

https://api.payant.ng/wallets

Parameters

name
required
String
Wallet's name
passcode
required
String
Wallet's passcode (min of 6 char)
settlement_bank
required
String
Wallet's settlement bank
account_number
required
String
Wallet's account number

Example

curl https://api.payant.ng/wallets \
-H "Content-Type: application/json" \
-H "Authorization: Bearer SECRET_KEY" \
-d '{ "name": "John Doe Wallet",
    "passcode": "937347", 
    "settlement_bank": "000013",
    "account_number": "0123456789" }' \
-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
  }
}