id parameter is required. If the entity no longer exists (e.g. deleted after key issuance), the request returns 404.checkout_settings is read from the checkout_settings app-setting-value configured at the entity level. If no value has been set yet, an empty object is returned rather than an error.curl --location '/entity-metadata' \
--header 'Authorization: Bearer <token>'{
"message": "Entity metadata retrieved successfully",
"status": "success",
"data": {
"entity_id": "01JABC1234567890ABCDEFGHIJ",
"entity_name": "Acme Corp Nigeria",
"entity_logo": "https://assets.acmecorp.ng/logo.png",
"checkout_settings": {
"accepted_currencies": [
"NGN",
"USD"
],
"redirect_url": "https://acmecorp.ng/payment/callback",
"theme": {
"primary_color": "#1a73e8"
}
}
}
}