Loyalty card registration endpoint
resource: /card/loyalty
method: POST
Request : LoyaltyCardRegistrationRequest
Response: LoyaltyCardRegistrationResponse
{
"loyaltyCard": {
"id": "1234",
"imageId": null,
"type": "BONUS",
"canUseBonusPointsForPayment": true,
"name": {
"originalText": "Bonus card",
"translations": [
{
"ET": "Boonus kaart"
}
]
},
"description": {
"originalText": "For special clients",
"translations": [
{
"ET": "Preemiumkliendi kaart"
}
]
},
"validationTypes": [
"CARD_NUMER",
"IDCODE"
],
"colorTheme": "DARK",
"primary": true,
"colors": [
"#fff",
"#000"
]
},
"value": "22103944833292",
"personId": "123545454",
"personEmail": "[email protected]",
"personName": "TestUser"
}
Last updated
Was this helpful?