Get Wallet

get
Get Wallet

https://api.payant.ng/wallets/:reference_code
Request
Response
Path Parameters
reference_code
required
string
Wallet reference code
Headers
Authorization
required
string
Payant secret key prefixed with "Bearer "
200: OK
{
"status": "success",
"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/PMojL342gd \
-H "Content-Type: application/json" \
-H "Authorization: Bearer SECRET_KEY" \
-X GET

Response

{
"status": "success",
"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
}
}