Skip to main content
POST
/
v2
/
loyalties
/
programs
/
{programId}
/
rewards
/
purchases
/
{rewardTransactionId}
/
refund
Error
A valid request URL is required to generate request examples
{
  "transaction": {
    "id": "<string>",
    "card_id": "<string>",
    "card_transaction_id": "<string>",
    "program_id": "<string>",
    "member_id": "<string>",
    "reward_id": "<string>",
    "details": {
      "reason": "<string>",
      "rejection": {
        "reason": "<string>",
        "details": "<string>"
      },
      "metadata": {},
      "points": {
        "total": 123
      },
      "result": {
        "reward": {
          "id": "<string>"
        },
        "quantity": 123,
        "material": {
          "product": {},
          "sku": {}
        },
        "digital": {
          "discount_coupons": [
            {
              "id": "<string>",
              "code": "<string>"
            }
          ],
          "gift_vouchers": [
            {
              "id": "<string>",
              "code": "<string>",
              "amount": 123,
              "balance": 123
            }
          ],
          "loyalty_card_points": {
            "points": 123,
            "card_definition_id": "<string>",
            "card_id": "<string>"
          }
        }
      }
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "object": "<string>"
  },
  "status": "APPROVED",
  "message": "<string>"
}
{
  "code": 123,
  "key": "<string>",
  "message": "<string>",
  "details": "<string>",
  "request_id": "<string>"
}
{
  "code": 123,
  "key": "<string>",
  "message": "<string>",
  "details": "<string>",
  "request_id": "<string>"
}
{
  "code": 123,
  "key": "<string>",
  "message": "<string>",
  "details": "<string>",
  "request_id": "<string>"
}
{
  "code": 123,
  "key": "<string>",
  "message": "<string>",
  "details": "<string>",
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-App-Id
string
header
required
X-App-Token
string
header
required

Path Parameters

programId
string
required

Unique loyalty program identifier (format: lprg_ followed by hexadecimal characters).

rewardTransactionId
string
required

Unique reward transaction identifier of the purchase to refund (format: lrtx_ followed by hexadecimal characters).

Body

application/json

Optional refund policies. An empty payload is allowed.

Request body for refunding a reward purchase. May be empty; defaults are applied.

policies
object | null

Refund policies. When omitted or null, defaults are applied.

Response

Refund accepted. The refund reward transaction has been created with status APPROVED and points will be returned to the member's card asynchronously.

Result of a reward refund request.

transaction
object | null

The created REFUND-type reward transaction.

status
enum<string>

Result status. Always APPROVED on success.

Available options:
APPROVED
message
string

Human-readable result message: "Reward refund transaction created. Points will be returned to the member's card shortly.".

Last modified on July 9, 2026