GET//////
Retrieve the rewards on a credit account’s statement summary.
URL path parameters
| Fields | Description |
|---|---|
| account_token string Required | The unique identifier of the credit account from which to retrieve statement rewards. Send a GET request to /credit/accounts to retrieve existing credit account tokens.Allowable Values: Existing account token |
| statement_summary_token string Required | The unique identifier of the statement summary from which to retrieve rewards. Send a GET request to /credit/accounts/{token}/statements/ to retrieve existing statement summary tokens.Allowable Values: Existing statement summary token |
Response body
| Fields | Description |
|---|---|
| token string Conditionally returned | Unique identifier of the rewards for a specific statement. Allowable Values: 36 char max |
| previous_billing_cycle_reward decimal Conditionally returned | Amount of rewards received in the previous billing cycle. Allowable Values: Format: 0.00 |
| current_billing_cycle_reward decimal Conditionally returned | Amount of rewards received in the current billing cycle. Allowable Values: Format: 0.00 |
| created_time datetime Conditionally returned | Date and time when the statement reward was created on Marqeta’s credit platform, in UTC. Allowable Values: Format: yyyy-MM-ddThh:mm:ssZ |
Sample response body
JSON
{
"token": "account_statement_reward1234",
"previous_billing_cycle_reward": 0,
"current_billing_cycle_reward": 0,
"created_time": "2022-09-01T00:27:09Z"
}