Page cover

Get Single Issued Account

Endpoint

GET {{}}/v1/accounts/<account_id>

Description

This endpoint is used to get a single organisation account that has been issued by Prune to the organisation.

URL Parameters

account_id (string): The ID of the account you want to retrieve.

Response

On success, the API will return a JSON object containing the details of a single company account.

{
  "status": true,
  "message": "Fetched account",
  "data": {
    "id": "3f18769d-e421-4c0d-b0b7-29b3a93e560a",
    "firstName": "Ebube",
    "lastName": "Anyiam",
    "accountId": 38,
    "accountName": "Ebube Anyiam",
    "accountNumber": "GB1204550505050536",
    "accountBalance": 0,
    "accountDocuments": {
      "idType": "identityCard",
      "poaType": "utilityBill",
      "idFileURL": "https://xxxxxxxxxxxxxxxxxxxx/national-id.jpeg",
      "poaFileURL": "https://xxxxxxxxxxxxxxxxxxxx/voters-card.jpeg"
    },
    "createdAt": "2024-04-08T09:04:30.006Z",
    "companyId": "5d83cd75-73b5-432f-b122-e41a2401af2f"
  },
  "code": 200
}

Last updated