Fetch Bank Account

To get a single bank account, you can use this Payshiga API endpoint to retrieve information about a specific user account.

Endpoint

{{baseurl}}/accounts/{id}

This is a GET request and has one required parameter:

FieldData TypeDescription
IdStringUnique identifier of the customer account you want to retrieve.

This is what a successful request will look like:

{
  "success": true,
  "statusCode": 200,
  "message": "Fetched bank account",
  "data": {
    "id": "d88343f6-f1c2-4e04-8762-39c7add0c1f8",
    "name": "Shiga Technologies LTD / test testing",
    "number": "1185510924",
    "bank": "Testing Bank",
    "bankCode": "000017",
    "currency": "NGN",
    "isVirtual": true,
    "createdAt": "2024-05-01T22:37:54.322Z",
    "updatedAt": "2024-05-01T22:37:54.322Z",
    "businessId": "0bb1dfc6-a74c-4e53-b41a-4a0c1eab188e",
    "reference": "shsi29wns02j9whdhnw012bd9dh2w",
    "customerId": "326a18a1-441a-457d-ba28-0538e0717c92"
  }
}