Get all reason codes

Use the following endpoint to get all reason codes for freeze, unfreeze, cancel, and reissue on this platform to use or display in your application:

EndpointDescription
GET {URI}/lineItems/reasonCodesGet all reason codes for the reward actions on this platform such as freeze, unfreeze, cancel, and reissue.

The following enumerations are provided in the Tango API as the reason codes to freeze a line item:

Freeze reasons (Enum)Description
DELIVERY_INFOIncorrect recipient’s delivery information
REWARD_AMOUNTIncorrect reward amount
REWARD_TYPEIncorrect reward type
VERIFY_ORDERIncorrect order
FRAUDInvestigating possible fraud
OTHEREnter your description if the reasons in this table do not meet your need.

The following enumerations are provided in the Tango API as the reason codes to unfreeze a line item:

Unfreeze reasons (Enum)Description
DELIVERY_INFOThe recipient’s delivery information is verified.
REWARD_AMOUNTThe reward amount is verified.
REWARD_TYPEThe reward type is verified.
VERIFIED_ORDERThe order is verified.
FRAUDNo fraud has been detected.
OTHEREnter your description if the reasons in this table do not meet your need.

The following enumerations are provided in the Tango API as the reason codes to cancel a line item:

Cancel reasons (Enum)Description
DELIVERY_INFOIncorrect recipient delivery information
REWARD_AMOUNTIncorrect reward amount
REWARD_TYPEIncorrect reward type
RECIPIENTIncorrect recipient
CURREENCYIncorrect currency
RECIPIENT_REQUESTEDRecipient requested change
RECIPIENT_OBLIGATIONSRecipient didn’t fulfill obligations
DUPLICATEDuplicate order
FRAUDFraud is detected
OTHEREnter your description if the reasons in this table do not meet your need.

The following enumerations are provided in the Tango API as the reason codes to reissue a line item:

Cancel reasons (Enum)Description
DELIVERY_INFOIncorrect recipient delivery information
REWARD_AMOUNTIncorrect reward amount
REWARD_TYPEIncorrect reward type
RECIPIENTIncorrect recipient
CURREENCYIncorrect currency
RECIPIENT_REQUESTEDRecipient requested change
OTHEREnter your description if the reasons in this table do not meet your need.

Here's an example payload for reason codes endpoint:

{
  "FREEZE": {
    "additionalProp": "string"
  },
  "UNFREEZE": {
    "additionalProp": "string"
  },
  "CANCEL": {
    "additionalProp": "string"
  },
  "CANCEL_AND_REISSUE": {
    "additionalProp": "string"
  }
}

The possible response codes for this endpoint are:

  • 200 OK
  • 400 Bad request
  • 401 Unauthorized

Rewards as a Service™ and the RaaS® API are provided by Tango Card, Inc. © 2024 Tango Card, Inc.