POST loyalty/accounts/convert-points
Request Information
URI Parameters
None.
Body Parameters
ConvertPointsToCashRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
Required |
|
| Points | integer |
Required Range: inclusive between 1 and 2147483647 |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"Points": 2
}
application/xml, text/xml
Sample:
<ConvertPointsToCashRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UCareAPI.Models"> <Points>2</Points> <UserId>sample string 1</UserId> </ConvertPointsToCashRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
RewardsAccountResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Summary | RewardsAccountSummary |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Summary": {
"UserId": "sample string 1",
"UserName": "sample string 2",
"MembershipNumber": "sample string 3",
"LoyaltyTier": "sample string 4",
"MemberSince": "2026-03-26T03:51:15.4856098+02:00",
"PointsBalance": 6,
"LifetimePoints": 7,
"PointsEarnedThisMonth": 8,
"PointsUsedThisMonth": 9,
"PointsLastUpdated": "2026-03-26T03:51:15.4856098+02:00",
"CashBackBalance": 10.0,
"LifetimeCashBack": 11.0,
"CashBackEarnedThisMonth": 12.0,
"CashBackUsedThisMonth": 13.0,
"CashBackLastUpdated": "2026-03-26T03:51:15.4856098+02:00",
"TotalRewardsValue": 14.0,
"QRCodeData": "sample string 15",
"BarcodeData": "sample string 16",
"TierBenefits": {
"TierName": "sample string 1",
"TierIcon": "sample string 2",
"TierColor": "sample string 3",
"PointsMultiplier": 4.0,
"CashBackRate": 5.0,
"PrioritySupport": true,
"ExclusiveOffers": true,
"MinPointsRequired": 8,
"PointsToNextTier": 9,
"NextTierName": "sample string 10"
}
}
}
application/xml, text/xml
Sample:
<RewardsAccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UCareAPI.Models">
<Message>sample string 2</Message>
<Success>true</Success>
<Summary>
<BarcodeData>sample string 16</BarcodeData>
<CashBackBalance>10</CashBackBalance>
<CashBackEarnedThisMonth>12</CashBackEarnedThisMonth>
<CashBackLastUpdated>2026-03-26T03:51:15.4856098+02:00</CashBackLastUpdated>
<CashBackUsedThisMonth>13</CashBackUsedThisMonth>
<LifetimeCashBack>11</LifetimeCashBack>
<LifetimePoints>7</LifetimePoints>
<LoyaltyTier>sample string 4</LoyaltyTier>
<MemberSince>2026-03-26T03:51:15.4856098+02:00</MemberSince>
<MembershipNumber>sample string 3</MembershipNumber>
<PointsBalance>6</PointsBalance>
<PointsEarnedThisMonth>8</PointsEarnedThisMonth>
<PointsLastUpdated>2026-03-26T03:51:15.4856098+02:00</PointsLastUpdated>
<PointsUsedThisMonth>9</PointsUsedThisMonth>
<QRCodeData>sample string 15</QRCodeData>
<TierBenefits>
<CashBackRate>5</CashBackRate>
<ExclusiveOffers>true</ExclusiveOffers>
<MinPointsRequired>8</MinPointsRequired>
<NextTierName>sample string 10</NextTierName>
<PointsMultiplier>4</PointsMultiplier>
<PointsToNextTier>9</PointsToNextTier>
<PrioritySupport>true</PrioritySupport>
<TierColor>sample string 3</TierColor>
<TierIcon>sample string 2</TierIcon>
<TierName>sample string 1</TierName>
</TierBenefits>
<TotalRewardsValue>14</TotalRewardsValue>
<UserId>sample string 1</UserId>
<UserName>sample string 2</UserName>
</Summary>
</RewardsAccountResponse>