Skip to main content
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.
Use the /credit/rewards/accounts/{token} endpoint to manage reward accounts and track rewards balances, accruals, and entries on a credit account. The configurations for a reward account are defined in the reward policy on the account’s associated bundle. To receive webhook notifications when reward accounts and reward entry events occur, see Credit reward entry events in Event Types.

List reward accounts

Action: GET
Endpoint: /credit/rewards/accounts
Retrieve a list of reward accounts.

URL query parameters

Response body

Sample response body

JSON

Retrieve reward account

Action: GET
Endpoint: /credit/rewards/accounts/{token}
Retrieve a specific reward account.

URL path parameters

URL query parameters

Response body

Sample response body

JSON

Update active state

Action: PUT
Endpoint: /credit/rewards/accounts/{token}
Update a reward account’s active state.

URL path parameters

Request body

Sample request body

JSON

Response body

Sample response body

JSON

Retrieve reward account balances

Action: GET
Endpoint: /credit/rewards/accounts/{token}/balances
Retrieve rewards balances for a specific reward account.

URL path parameters

URL query parameters

Response body

Sample response body

JSON

Retrieve reward account accruals

Action: GET
Endpoint: /credit/rewards/accounts/{token}/accruals
Use this endpoint to retrieve the reward accounts rewards accrual by rule for a specified time frame. If you do not specify a time frame in your query parameters, the query defaults to the current billing cycle.

URL path parameters

Response body

Sample response body

JSON

Create reward entry

Action: POST
Endpoint: /credit/rewards/accounts/{token}/entries
Create a reward entry for a specific reward account.

URL path parameters

Request body

Sample request body

JSON

Response body

Sample response body

JSON

List reward entries for a reward account

Action: GET
Endpoint: /credit/rewards/accounts/{token}/entries
Retrieve an array of reward entries for a specific reward account.

URL path parameters

URL query parameters

Response body

Sample response body

JSON

Retrieve reward entry

Action: GET
Endpoint: /credit/rewards/accounts/{token}/entries/{entry_token}
Retrieve a specific reward entry for a reward account.

URL path parameters

Response body

Sample response body

JSON