Get Benefits List
This endpoint allows to get benefits available to a customer.
Request
GET <API base url>/customers/{id}/benefits
URL query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | uint64 | yes | Customer identifier |
| language | string | yes | Two letter language code according to ISO 639-1 |
| cardTypes | string[] | no | Filter by card type |
Response
On success:
{
"value": required array of {
"id": required number,
"name": required string,
"description": optional string,
"icon": optional string (as URL),
"termsOfUse": optional string,
"cardTypes": optional array of string
}
}