Payment Profile
To get payment profile, you make a get request to the payment profile endpoint and pass the required header parameters to get the appropriate response.
Get Payment Profile
https://live.sendbox.co/payments/profile
200:OK
{
"username": "jason@sendbox.ng",
"user_id": "5d373bdb9ec77c00347719a0",
"last_updated": "2020-03-20T15:15:17.408000+00:00",
"name": "Testing Roundabout Name Change",
"phone": "+2348087612345",
"credits_account": {
"balance": 0.0,
"currency": "NGN",
"key": "C0008157332",
"pk": "5d373bdbe4b32c00014eae48",
"_id": "5d373bdbe4b32c00014eae48",
"type": {
"pk": "credits",
"code": "credits",
"name": "Credits"
}
},
"bvn": null,
"funds": 38.0,
"escrow": 75.0,
"credits": 0.0,
"email": "jason@sendbox.ng",
"accounts": [
{
"balance": 75.0,
"currency": "NGN",
"key": "E0016700165",
"pk": "5d373bdbe4b32c00014eae47",
"_id": "5d373bdbe4b32c00014eae47",
"type": {
"pk": "escrow",
"code": "escrow",
"name": "Escrow"
}
},
{
"balance": 0.0,
"currency": "NGN",
"key": "C0008157332",
"pk": "5d373bdbe4b32c00014eae48",
"_id": "5d373bdbe4b32c00014eae48",
"type": {
"pk": "credits",
"code": "credits",
"name": "Credits"
}
},
{
"balance": 38.0,
"currency": "NGN",
"key": "F0006107729",
"pk": "5d373bdbe4b32c00014eae49",
"_id": "5d373bdbe4b32c00014eae49",
"type": {
"pk": "funds",
"code": "funds",
"name": "Funds"
}
}
],
"date_created": "2019-07-23T16:54:51.718000+00:00",
"virtual_bank_accounts": [
{
"bank_name": "Providus Bank",
"last_updated": "2019-11-27T16:42:37.305000+00:00",
"account_number": "9907710812",
"date_created": "2019-11-27T16:42:37.305000+00:00",
"pk": "vba_3gMbhPJLJVc",
"account_name": " KIKO JAYSON"
}
],
"_id": "5d373bdbe4b32c00014eae46",
"funds_account": {
"balance": 38.0,
"currency": "NGN",
"key": "F0006107729",
"pk": "5d373bdbe4b32c00014eae49",
"_id": "5d373bdbe4b32c00014eae49",
"type": {
"pk": "funds",
"code": "funds",
"name": "Funds"
}
},
"escrow_account": {
"balance": 75.0,
"currency": "NGN",
"key": "E0016700165",
"pk": "5d373bdbe4b32c00014eae47",
"_id": "5d373bdbe4b32c00014eae47",
"type": {
"pk": "escrow",
"code": "escrow",
"name": "Escrow"
}
}
}
Last updated