curl --request GET \
--url https://api.cadanapay.com/v1/entities \
--header 'Authorization: Bearer <token>'[
{
"id": "37ad8c1e-0187-4e10-8c54-395e3385b4d2",
"legalName": "Acme Corp Ghana",
"country": "GH",
"currency": "GHS",
"entityType": "corporation",
"status": "ACTIVE",
"createdTimestamp": 1609459200,
"lastUpdatedTimestamp": 1609459200
}
]List all legal entities for the current tenant
curl --request GET \
--url https://api.cadanapay.com/v1/entities \
--header 'Authorization: Bearer <token>'[
{
"id": "37ad8c1e-0187-4e10-8c54-395e3385b4d2",
"legalName": "Acme Corp Ghana",
"country": "GH",
"currency": "GHS",
"entityType": "corporation",
"status": "ACTIVE",
"createdTimestamp": 1609459200,
"lastUpdatedTimestamp": 1609459200
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Required when using a Platform API token. The tenant key identifying which business to operate on.
List of entities
"37ad8c1e-0187-4e10-8c54-395e3385b4d2"
"Acme Corp Ghana"
"GH"
"GHS"
corporation, c-corporation, s-corporation, partnership, sole proprietorship, limited liability company, non profit, other "corporation"
"ACTIVE"
Unix timestamp when the entity was created
1609459200
Unix timestamp when the entity was last updated
1609459200