Get receive accounts
Read on obtaining information on added receive accounts

Get list of receive accounts

You can fetch all the receive accounts created under a receive user.

GET /users/{{user_id}}/receive-users/{{receive_user_id}}/accounts

Request Sample
Response Sample
1
curl --location -g --request GET '{{url}}/users/{{user_id}}/receive-users/{{receive_user_id}}/accounts' \
2
--header 'X-Client-Id: {{client_id}}' \
3
--header 'X-Client-Secret: {{client_secret}}' \
4
--header 'Content-Type: application/json'
Copied!
1
{
2
"account_number": "0037275353",
3
"account_type": "SAVINGS",
4
"bank_id": 2,
5
"branch_id": 3,
6
"created_at": "2021-10-08T11:12:21.957",
7
"id": "358d1471-f915-407d-95af-6e72c5dde082",
8
"payout_method": "BANK_DEPOSIT",
9
"status": "VERIFIED",
10
"user_id": "87fa8868-f187-4f0f-aa8d-3815336334c6"
11
},
12
"created_at": "2021-12-07T09:16:33.947037",
13
"id": "94e7db9e-f49d-4573-a9e0-639714248b6f",
14
"msisdn": "233242516556",
15
"payout_method": "WALLET",
16
"status": "VERIFIED",
17
"user_id": "f319cd8a-f4f3-465b-bbd8-8457d51f8c57",
18
"wallet_type": "TEL"
19
}
Copied!

Get receive account by ID

You can fetch details of a particular receive user account linked to a receive user.

GET /users/{{user_id}}/receive-users/{{receive_user_id}}/accounts/{{receive_user_account_id}}

Request Sample
Response Sample
1
curl --location -g --request GET '{{url}}/users/{{user_id}}/receive-users/{{receive_user_id}}/accounts/{{receive_user_account_id}}' \
2
--header 'X-Client-Id: {{client_id}}' \
3
--header 'X-Client-Secret: {{client_secret}}' \
4
--header 'Content-Type: application/json'
Copied!
1
{
2
"account_number": "2662030406",
3
"account_type": "SAVINGS",
4
"bank_id": 40,
5
"branch_id": 39,
6
"created_at": "2022-01-14T11:17:54.287101",
7
"id": "9db84704-fabc-4be2-b96b-f79f13809467",
8
"payout_method": "BANK_DEPOSIT",
9
"status": "UNVERIFIED",
10
"user_id": "e2d1b7bf-4e8a-4e2d-b5a3-474525c396db",
11
"wallet_type": "TEL"
12
}
Copied!