> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Reward Redemptions

> Use the `/credit/rewards/accounts/{token}/redemptions` endpoint to the manage reward redemptions on a credit account.

export const EndpointCard = ({method = "API", title, children, href, arrow = true}) => {
  const METHOD_STYLES = {
    GET: {
      bg: "mint-bg-green-400/20 dark:mint-bg-green-400/20",
      text: "mint-text-green-700 dark:mint-text-green-400",
      border: "mint-border-green-300 dark:mint-border-green-700"
    },
    POST: {
      bg: "mint-bg-blue-400/20 dark:mint-bg-blue-400/20",
      text: "mint-text-blue-700 dark:mint-text-blue-400"
    },
    PUT: {
      bg: "mint-bg-yellow-400/20 dark:mint-bg-yellow-400/20",
      text: "mint-text-yellow-700 dark:mint-text-yellow-400"
    },
    PATCH: {
      bg: "mint-bg-orange-400/20 dark:mint-bg-orange-400/20",
      text: "mint-text-orange-700 dark:mint-text-orange-400"
    },
    DELETE: {
      bg: "mint-bg-red-400/20 dark:mint-bg-red-400/20",
      text: "mint-text-red-700 dark:mint-text-red-400"
    },
    API: {
      bg: "mint-bg-black",
      text: "mint-text-white"
    }
  };
  const MethodBadge = ({method}) => {
    const style = METHOD_STYLES[method?.toUpperCase()] ?? METHOD_STYLES.GET;
    return <span className={`
          method-pill rounded-lg font-semibold px-1.5 py-0.5 text-xs leading-5 ${style.bg} ${style.text}`}>
        {method?.toUpperCase()}
      </span>;
  };
  const content = <div className="group flex items-center gap-4 border border-gray-200 dark:border-gray-700 rounded-xl p-5 hover:border-gray-400 dark:hover:border-gray-500 hover:shadow-md transition-all cursor-pointer">
      {}
      <div className="shrink-0">
        <MethodBadge method={method} />
      </div>
      {}
      <div className="flex-1 min-w-0">
        <p className="font-semibold text-gray-900 dark:text-white text-sm leading-snug">{title}</p>
        {children && <p className="mt-1 text-sm text-gray-500 dark:text-gray-400 line-clamp-2">{children}</p>}
      </div>
    </div>;
  if (!href) return content;
  return <a href={href} className="block no-underline border-b-0 mb-2">
      {content}
    </a>;
};

<Note>
  **Note**\
  This feature is currently in beta and subject to change. To learn more about the Beta program for this feature, contact your Marqeta representative.
</Note>

Use the `/credit/rewards/accounts/{token}/redemptions` endpoint to the manage reward redemptions on a credit account. To receive webhook notifications when reward accounts and reward entry events occur, see [Credit reward entry events](/core-api/event-types/#_credit_reward_entry_events) in [Event Types](/core-api/event-types/).

<h2 id="post_redemption">
  Create reward redemption
</h2>

**Action:** `POST`\
**Endpoint:** `/credit/rewards/accounts/{token}/redemptions`

Create a reward redemption for a specific reward account.

<h3 id="_url_path_parameters">
  URL path parameters
</h3>

| Fields                                      | Description                                                                                                        |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Required | Unique identifier of the reward account.<br /><br />**Allowable Values:**<br /><br />Existing reward account token |

<h3 id="_request_body">
  Request body
</h3>

| Fields                                                          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Optional                     | Unique identifier of the reward redemption.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                              |
| type<br /><br />string<br /><br />Required                      | Type of redemption.<br /><br />- `EXTERNAL` - You issue the redemption on your external platform; Marqeta adjusts the reward account balance on the system of record.<br />- `STATEMENT_CREDIT` - Marqeta issues the redemption as a statement credit on the associated account.<br />**NOTE**: This creates a new journal entry on the account and cannot be undone.<br /><br />**Allowable Values:**<br /><br />`EXTERNAL`, `STATEMENT_CREDIT` |
| amount<br /><br />decimal<br /><br />Required                   | Amount of the reward redemption.<br /><br />**Allowable Values:**<br /><br />0.01 min<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                    |
| note<br /><br />string<br /><br />Optional                      | Note explaining why the reward is being redeemed.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                       |
| destination<br /><br />string<br /><br />Optional               | Destination of the `EXTERNAL` redemption for the brand to track.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                        |
| receiving\_account\_token<br /><br />string<br /><br />Optional | Unique identifier of the external account receiving the reward redemption. This token is the <a href="/core-api/credit-account-payment-sources/">payment source</a> token.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                               |

<h3 id="_sample_request_body">
  Sample request body
</h3>

```json JSON lines wrap theme={null}
{
  "type": "EXTERNAL",
  "amount": 1000,
  "destination": "BRAND_WALLET",
  "note": "Redeeming reward balance to Brand Wallet at brand conversion rate 1.5 per point."
}
```

<h3 id="_response_body">
  Response body
</h3>

| Fields                                                                                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Returned                                            | Unique identifier of the reward redemption.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                              |
| type<br /><br />string<br /><br />Returned                                             | Type of redemption.<br /><br />- `EXTERNAL` - You issue the redemption on your external platform; Marqeta adjusts the reward account balance on the system of record.<br />- `STATEMENT_CREDIT` - Marqeta issues the redemption as a statement credit on the associated account.<br />**NOTE**: This creates a new journal entry on the account and cannot be undone.<br /><br />**Allowable Values:**<br /><br />`EXTERNAL`, `STATEMENT_CREDIT` |
| destination<br /><br />string<br /><br />Conditionally returned                        | Destination of the `EXTERNAL` redemption for the brand to track.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                        |
| amount<br /><br />decimal<br /><br />Returned                                          | Amount to redeem.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                       |
| conversion\_rate<br /><br />decimal<br /><br />Conditionally returned                  | Rate that points are worth when converting them using the `REDEMPTION_TYPE` indicated.<br /><br />**Allowable Values:**<br /><br />0.001 min<br /><br />Format: 0.000                                                                                                                                                                                                                                                                            |
| currency<br /><br />string<br /><br />Conditionally returned                           | Type of currency used for the conversion rate. Three-digit <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>.<br /><br />**Allowable Values:**<br /><br />Any currency code allowed by your program                                                                                                                                                                           |
| note<br /><br />string<br /><br />Conditionally returned                               | Note explaining why the reward is being redeemed.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                       |
| sor\_reward\_token<br /><br />string<br /><br />Conditionally returned                 | Unique identifier of the system of reward (SOR) reward that was created to represent the reward redemption as a `STATEMENT_CREDIT` on a credit account. The SOR entry is a positive amount that is added to the account balance.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                         |
| external\_settlement\_date\_time<br /><br />datetime<br /><br />Conditionally returned | Date and time when the reward redemption was settled on your external platform, in UTC. This field is returned if you handled the reward redemption outside of Marqeta’s credit platform.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                               |
| receiving\_account\_token<br /><br />string<br /><br />Conditionally returned          | Unique identifier of the external account receiving the reward redemption. This token is the <a href="/core-api/payment-sources/">payment source</a> token.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                              |
| created\_time<br /><br />datetime<br /><br />Returned                                  | Date and time when the reward redemption was created on the Marqeta platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                   |
| updated\_time<br /><br />datetime<br /><br />Conditionally returned                    | Date and time when the reward redemption was updated on the Marqeta platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                   |

<h3 id="_sample_response_body">
  Sample response body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "c21b04ad-37de-4433-890a-3cece8adefc7",
  "type": "EXTERNAL",
  "amount": 1000,
  "conversion_rate": 1.5,
  "destination": "BRAND_WALLET",
  "note": "Redeeming reward balance to Brand Wallet at brand conversion rate 1.5 per point",
  "created_time": "2024-01-05T20:37:11Z"
}
```

<h2 id="retrieve_redemptions">
  List reward redemptions
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/rewards/accounts/{token}/redemptions`

Retrieve an array of reward redemptions for a specific reward account.

<h3 id="_url_path_parameters_2">
  URL path parameters
</h3>

| Fields                                      | Description                                                                                                        |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Required | Unique identifier of the reward account.<br /><br />**Allowable Values:**<br /><br />Existing reward account token |

<h3 id="_url_query_parameters">
  URL query parameters
</h3>

| Fields                                                  | Description                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| start\_date<br /><br />datetime<br /><br />Optional     | Starting date and time of a date range from which to return resources, in UTC.<br /><br />**Allowable Values:**<br /><br />format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                     |
| end\_date<br /><br />datetime<br /><br />Optional       | Ending date and time of a date range from which to return resources, in UTC.<br /><br />**Allowable Values:**<br /><br />format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                       |
| count<br /><br />integer<br /><br />Optional            | Number of resources to retrieve.<br /><br />**Allowable Values:**<br /><br />1–100                                                                                                                                                                                                                                                                                                          |
| start\_index<br /><br />integer<br /><br />Optional     | Sort order index of the first resource in the returned array.<br /><br />**Allowable Values:**<br /><br />0 min                                                                                                                                                                                                                                                                             |
| sort\_by\_created<br /><br />string<br /><br />Optional | Field on which to sort. Prefix the field name with a hyphen (`-`) to sort in descending order. Omit the hyphen to sort in ascending order.<br /><br />**NOTE**: You must sort using system field names, such as `createdTime`. Do not sort by field names that appear in response bodies, such as `created_time`.<br /><br />**Allowable Values:**<br /><br />`createdTime`, `-createdTime` |
| type<br /><br />string<br /><br />Optional              | Type of reward redemptions in the returned array.<br /><br />**Allowable Values:**<br /><br />`EXTERNAL`, `STATEMENT_CREDIT`                                                                                                                                                                                                                                                                |

<h3 id="_response_body_2">
  Response body
</h3>

| Fields                                                                                             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| data<br /><br />array of objects<br /><br />Conditionally returned                                 | List containing one or more redemptions.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more redemption objects                                                                                                                                                                                                                                                                                                               |
| data\[].**token**<br /><br />string<br /><br />Returned                                            | Unique identifier of the reward redemption.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                              |
| data\[].**type**<br /><br />string<br /><br />Returned                                             | Type of redemption.<br /><br />- `EXTERNAL` - You issue the redemption on your external platform; Marqeta adjusts the reward account balance on the system of record.<br />- `STATEMENT_CREDIT` - Marqeta issues the redemption as a statement credit on the associated account.<br />**NOTE**: This creates a new journal entry on the account and cannot be undone.<br /><br />**Allowable Values:**<br /><br />`EXTERNAL`, `STATEMENT_CREDIT` |
| data\[].**destination**<br /><br />string<br /><br />Conditionally returned                        | Destination of the `EXTERNAL` redemption for the brand to track.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                        |
| data\[].**amount**<br /><br />decimal<br /><br />Returned                                          | Amount to redeem.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].**conversion\_rate**<br /><br />decimal<br /><br />Conditionally returned                  | Rate that points are worth when converting them using the `REDEMPTION_TYPE` indicated.<br /><br />**Allowable Values:**<br /><br />0.001 min<br /><br />Format: 0.000                                                                                                                                                                                                                                                                            |
| data\[].**currency**<br /><br />string<br /><br />Conditionally returned                           | Type of currency used for the conversion rate. Three-digit <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>.<br /><br />**Allowable Values:**<br /><br />Any currency code allowed by your program                                                                                                                                                                           |
| data\[].**note**<br /><br />string<br /><br />Conditionally returned                               | Note explaining why the reward is being redeemed.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                       |
| data\[].**sor\_reward\_token**<br /><br />string<br /><br />Conditionally returned                 | Unique identifier of the system of reward (SOR) reward that was created to represent the reward redemption as a `STATEMENT_CREDIT` on a credit account. The SOR entry is a positive amount that is added to the account balance.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                         |
| data\[].**external\_settlement\_date\_time**<br /><br />datetime<br /><br />Conditionally returned | Date and time when the reward redemption was settled on your external platform, in UTC. This field is returned if you handled the reward redemption outside of Marqeta’s credit platform.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                               |
| data\[].**receiving\_account\_token**<br /><br />string<br /><br />Conditionally returned          | Unique identifier of the external account receiving the reward redemption. This token is the <a href="/core-api/payment-sources/">payment source</a> token.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                              |
| data\[].**created\_time**<br /><br />datetime<br /><br />Returned                                  | Date and time when the reward redemption was created on the Marqeta platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                   |
| data\[].**updated\_time**<br /><br />datetime<br /><br />Conditionally returned                    | Date and time when the reward redemption was updated on the Marqeta platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                   |
| count<br /><br />integer<br /><br />Conditionally returned                                         | Number of resources returned.<br /><br />**Allowable Values:**<br /><br />1–100                                                                                                                                                                                                                                                                                                                                                                  |
| start\_index<br /><br />integer<br /><br />Conditionally returned                                  | Sort order index of the first resource in the returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                            |
| end\_index<br /><br />integer<br /><br />Conditionally returned                                    | Sort order index of the last resource in the returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                             |
| is\_more<br /><br />boolean<br /><br />Conditionally returned                                      | A value of `true` indicates that more unreturned resources exist.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                    |

<h3 id="_sample_response_body_2">
  Sample response body
</h3>

```json JSON expandable lines wrap theme={null}
{
  "count": 1,
  "start_index": 0,
  "end_index": 0,
  "is_more": false,
  "data": [
    {
      "token": "c21b04ad-37de-4433-890a-3cece8adefc7",
      "type": "EXTERNAL",
      "amount": 10000,
      "conversion_rate": 1.5,
      "currency": "USD",
      "destination": "BRAND_WALLET",
      "note": "Redeeming reward balance to Brand Wallet at brand conversion rate 1.5 cents per point.",
      "created_time": "2024-01-01T20:37:11Z"
    },
    {
      "token": "132fb632-1197-4d01-9eca-bee3ac2e7502",
      "type": "STATEMENT_CREDIT",
      "amount": 5000,
      "conversion_rate": 0.01,
      "note": "Redeeming reward balance to Statement Credit 1 cent for every 1 point",
      "created_time": "2024-01-02T20:37:11Z"
    },
    {
      "token": "7d34d209-e350-4bca-a678-29b9fbfe45d5",
      "type": "EXTERNAL",
      "amount": 900,
      "conversion_rate": 1.3,
      "destination": "MILEAGE_PLUS",
      "note": "Redeeming reward balance to MILEAGE_PLUS Program at a conversion rate of 1.3 miles per point",
      "receiving_account_token": "c21b04ad-37de-4433-890a-3cece8adefc7",
      "created_time": "2024-01-05T20:37:11Z"
    }
  ]
}
```

<h2 id="get_redemption">
  Retrieve reward redemption
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/rewards/accounts/{token}/redemptions/{redemption_token}`

Retrieve a specific redemption for a specific reward accounts.

<h3 id="_url_path_parameters_3">
  URL path parameters
</h3>

| Fields                                                  | Description                                                                                                        |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Required             | Unique identifier of the reward account.<br /><br />**Allowable Values:**<br /><br />Existing reward account token |
| redemption\_token<br /><br />string<br /><br />Required | Unique identifier of the reward redemption.<br /><br />**Allowable Values:**<br /><br />Existing redemption token  |

<h3 id="_response_body_3">
  Response body
</h3>

| Fields                                                                                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Returned                                            | Unique identifier of the reward redemption.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                              |
| type<br /><br />string<br /><br />Returned                                             | Type of redemption.<br /><br />- `EXTERNAL` - You issue the redemption on your external platform; Marqeta adjusts the reward account balance on the system of record.<br />- `STATEMENT_CREDIT` - Marqeta issues the redemption as a statement credit on the associated account.<br />**NOTE**: This creates a new journal entry on the account and cannot be undone.<br /><br />**Allowable Values:**<br /><br />`EXTERNAL`, `STATEMENT_CREDIT` |
| destination<br /><br />string<br /><br />Conditionally returned                        | Destination of the `EXTERNAL` redemption for the brand to track.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                        |
| amount<br /><br />decimal<br /><br />Returned                                          | Amount to redeem.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                       |
| conversion\_rate<br /><br />decimal<br /><br />Conditionally returned                  | Rate that points are worth when converting them using the `REDEMPTION_TYPE` indicated.<br /><br />**Allowable Values:**<br /><br />0.001 min<br /><br />Format: 0.000                                                                                                                                                                                                                                                                            |
| currency<br /><br />string<br /><br />Conditionally returned                           | Type of currency used for the conversion rate. Three-digit <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>.<br /><br />**Allowable Values:**<br /><br />Any currency code allowed by your program                                                                                                                                                                           |
| note<br /><br />string<br /><br />Conditionally returned                               | Note explaining why the reward is being redeemed.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                       |
| sor\_reward\_token<br /><br />string<br /><br />Conditionally returned                 | Unique identifier of the system of reward (SOR) reward that was created to represent the reward redemption as a `STATEMENT_CREDIT` on a credit account. The SOR entry is a positive amount that is added to the account balance.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                         |
| external\_settlement\_date\_time<br /><br />datetime<br /><br />Conditionally returned | Date and time when the reward redemption was settled on your external platform, in UTC. This field is returned if you handled the reward redemption outside of Marqeta’s credit platform.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                               |
| receiving\_account\_token<br /><br />string<br /><br />Conditionally returned          | Unique identifier of the external account receiving the reward redemption. This token is the <a href="/core-api/payment-sources/">payment source</a> token.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                              |
| created\_time<br /><br />datetime<br /><br />Returned                                  | Date and time when the reward redemption was created on the Marqeta platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                   |
| updated\_time<br /><br />datetime<br /><br />Conditionally returned                    | Date and time when the reward redemption was updated on the Marqeta platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                   |

<h3 id="_sample_response_body_3">
  Sample response body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "7d34d209-e350-4bca-a678-29b9fbfe45d5",
  "type": "EXTERNAL",
  "destination": "MILEAGE_PLUS",
  "amount": 900,
  "conversion_rate": 1.3,
  "note": "Redeeming reward balance to MILEAGE_PLUS Program at a rate of 1.3 miles per point",
  "created_time": "2024-01-05T20:37:11Z",
  "update_time": "2024-01-05T20:37:11Z"
}
```

<h2 id="update_redemption">
  Modify existing redemption
</h2>

**Action:** `PUT`\
**Endpoint:** `/credit/rewards/accounts/{token}/redemptions/{redemption_token}`

Modify existing redemption.

<h3 id="_url_path_parameters_4">
  URL path parameters
</h3>

| Fields                                                  | Description                                                                                                        |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Required             | Unique identifier of the reward account.<br /><br />**Allowable Values:**<br /><br />Existing reward account token |
| redemption\_token<br /><br />string<br /><br />Required | Unique identifier of the reward redemption.<br /><br />**Allowable Values:**<br /><br />Existing redemption token  |

<h3 id="_request_body_2">
  Request body
</h3>

| Fields                                                                   | Description                                                                                                                                                                                                                                               |
| ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| note<br /><br />string<br /><br />Optional                               | Note explaining why the reward is being redeemed.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                |
| external\_settlement\_date\_time<br /><br />datetime<br /><br />Optional | Date and time when the reward redemption was settled on the external platform. This field is returned if the reward redemption was handled outside of Marqeta’s credit platform.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ |

<h3 id="_sample_request_body_2">
  Sample request body
</h3>

```json JSON lines wrap theme={null}
{
  "external_settlement_date_time": "2024-01-06T20:37:11Z"
}
```

<h3 id="_response_body_4">
  Response body
</h3>

| Fields                                                                                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Returned                                            | Unique identifier of the reward redemption.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                              |
| type<br /><br />string<br /><br />Returned                                             | Type of redemption.<br /><br />- `EXTERNAL` - You issue the redemption on your external platform; Marqeta adjusts the reward account balance on the system of record.<br />- `STATEMENT_CREDIT` - Marqeta issues the redemption as a statement credit on the associated account.<br />**NOTE**: This creates a new journal entry on the account and cannot be undone.<br /><br />**Allowable Values:**<br /><br />`EXTERNAL`, `STATEMENT_CREDIT` |
| destination<br /><br />string<br /><br />Conditionally returned                        | Destination of the `EXTERNAL` redemption for the brand to track.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                        |
| amount<br /><br />decimal<br /><br />Returned                                          | Amount to redeem.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                       |
| conversion\_rate<br /><br />decimal<br /><br />Conditionally returned                  | Rate that points are worth when converting them using the `REDEMPTION_TYPE` indicated.<br /><br />**Allowable Values:**<br /><br />0.001 min<br /><br />Format: 0.000                                                                                                                                                                                                                                                                            |
| currency<br /><br />string<br /><br />Conditionally returned                           | Type of currency used for the conversion rate. Three-digit <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>.<br /><br />**Allowable Values:**<br /><br />Any currency code allowed by your program                                                                                                                                                                           |
| note<br /><br />string<br /><br />Conditionally returned                               | Note explaining why the reward is being redeemed.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                       |
| sor\_reward\_token<br /><br />string<br /><br />Conditionally returned                 | Unique identifier of the system of reward (SOR) reward that was created to represent the reward redemption as a `STATEMENT_CREDIT` on a credit account. The SOR entry is a positive amount that is added to the account balance.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                         |
| external\_settlement\_date\_time<br /><br />datetime<br /><br />Conditionally returned | Date and time when the reward redemption was settled on your external platform, in UTC. This field is returned if you handled the reward redemption outside of Marqeta’s credit platform.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                               |
| receiving\_account\_token<br /><br />string<br /><br />Conditionally returned          | Unique identifier of the external account receiving the reward redemption. This token is the <a href="/core-api/payment-sources/">payment source</a> token.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                              |
| created\_time<br /><br />datetime<br /><br />Returned                                  | Date and time when the reward redemption was created on the Marqeta platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                   |
| updated\_time<br /><br />datetime<br /><br />Conditionally returned                    | Date and time when the reward redemption was updated on the Marqeta platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                   |

<h3 id="_sample_response_body_4">
  Sample response body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "7d34d209-e350-4bca-a678-29b9fbfe45d5",
  "type": "EXTERNAL",
  "destination": "MILEAGE_PLUS",
  "amount": 900,
  "conversion_rate": 1.3,
  "note": "Redeeming reward balance to MILEAGE_PLUS Program at a rate of 1.3 miles per point",
  "external_settlement_date_time": "2024-01-05T20:37:11Z",
  "receiving_account_token": "c21b04ad-37de-4433-890a-3cece8adefc7",
  "created_time": "2024-01-05T20:37:11Z",
  "updated_time": "2024-01-06T20:37:11Z"
}
```

<h2 id="retrieve_redemptions_balance">
  Retrieve reward redemption balance
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/rewards/accounts/{token}/redemptions/balance`

Retrieve redemption amounts for a specified date range by redemption type.

<h3 id="_url_path_parameters_5">
  URL path parameters
</h3>

| Fields                                      | Description                                                                                                        |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Required | Unique identifier of the reward account.<br /><br />**Allowable Values:**<br /><br />Existing reward account token |

<h3 id="_url_query_parameters_2">
  URL query parameters
</h3>

| Fields                                              | Description                                                                                                                                             |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| start\_date<br /><br />datetime<br /><br />Optional | Starting date and time of a date range from which to return resources, in UTC.<br /><br />**Allowable Values:**<br /><br />format: yyyy-MM-ddThh:mm:ssZ |
| end\_date<br /><br />datetime<br /><br />Optional   | Ending date and time of a date range from which to return resources, in UTC.<br /><br />**Allowable Values:**<br /><br />format: yyyy-MM-ddThh:mm:ssZ   |

<h3 id="_response_body_5">
  Response body
</h3>

| Fields                                                                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| start\_date<br /><br />datetime<br /><br />Conditionally returned                       | Starting date and time of a date range from which to return the redemption balance, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                             |
| end\_date<br /><br />datetime<br /><br />Conditionally returned                         | Ending date and time of a date range from which to return the redemption balance, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                               |
| redemptions<br /><br />array of objects<br /><br />Conditionally returned               | List of each redemption total by type.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more redemption objects                                                                                                                                                                                                                                                                                                                 |
| redemptions\[].**type**<br /><br />string<br /><br />Conditionally returned             | Type of redemption.<br /><br />- `EXTERNAL` - You issue the redemption on your external platform; Marqeta adjusts the reward account balance on the system of record.<br />- `STATEMENT_CREDIT` - Marqeta issues the redemption as a statement credit on the associated account.<br />**NOTE**: This creates a new journal entry on the account and cannot be undone.<br /><br />**Allowable Values:**<br /><br />`EXTERNAL`, `STATEMENT_CREDIT` |
| redemptions\[].**destination**<br /><br />string<br /><br />Conditionally returned      | The brand-managed program to which the reward balance was redeemed.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                     |
| redemptions\[].**point\_redeemed**<br /><br />decimal<br /><br />Conditionally returned | Total points redeemed for redemption type for a reward account.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                          |

<h3 id="_sample_response_body_5">
  Sample response body
</h3>

```json JSON expandable lines wrap theme={null}
{
  "start_date": "2023-01-05T20:37:11Z",
  "end_date": "2024-01-05T20:37:11Z",
  "redemptions": [
    {
      "type": "EXTERNAL",
      "destination": "BRAND_WALLET",
      "points_redeemed": 100000
    },
    {
      "type": "EXTERNAL",
      "destination": "MILEAGE_PLUS",
      "points_redeemed": 5000
    },
    {
      "type": "STATEMENT_CREDIT",
      "points_redeemed": 5000
    }
  ],
  "retrieved_time": "2024-01-05T20:37:11Z"
}
```


## Related topics

- [About Reward Accounts](/docs/developer-guides/about-credit-reward-accounts.md)
- [Reward Conversions Management](/docs/core-api/credit-reward-conversions-management.md)
- [Credit Overview](/docs/developer-guides/credit-landing-page.md)
- [2022 Release Notes](/docs/developer-guides/release-notes-2022.md)
- [2023 Release Notes](/docs/developer-guides/release-notes-2023.md)
