1.5 API Details

This topic provides information on API Details.

curl --location '<bank domain
        url>/digx-retail/rewards/v1/rewards/offer?locale=en' \--header 'Accept: application/json,
        text/javascript, */*; q=0.01' \--header 'Content-Type:
        application/json' \--header 'X-Target-Unit: <entity>
        \--header 'Authorization: Bearer
        <bearer Token>' \--header 'X-Token-Type: JWT'
        \--header 'Cookie: <cookie>'
        \--data '{   
        "messageList": [],   
        "userId": "<userId>",   
        "totalClaims": "<claims>",   
        "channel": "<channel>",   
        "notificationId":"<notification text>",   
        "expiryDate":"<expiry>",   
        "mandatory":"Y"}'