Skip to main content
Use the account refunds endpoints to create and retrieve account refunds on Marqeta’s credit platform. You can issue account refunds to your cardholders with negative account balances. The maximum refund amount is the amount that brings the account balance to 0.Forexample,0. For example, 4000 is the maximum refund amount for a -$4000 account balance.

Create refund

Action: POST
Endpoint: /credit/accounts/{account_token}/refunds
Create a new refund, which you can issue to the account holder if their credit account balance is negative.

URL path parameters

Request body

Sample request body

JSON

Response body

Sample response body

JSON

List account refunds

Action: GET
Endpoint: /credit/accounts/{account_token}/refunds
Use the /credit/accounts/{account_token}/refunds endpoint to retrieve an array of refunds on a credit account. This endpoint supports sorting and pagination.

URL path parameters

URL query parameters

Response body

Sample response body

JSON

Retrieve account refund

Action: GET
Endpoint: /credit/accounts/{account_token}/refunds/{refund_token}
Use the /accounts/{account_token}/refunds/{refund_token} endpoint to retrieve a refund.

URL path parameters

Response body

Sample response body

JSON

Transition account refund status

Action: POST
Endpoint: /credit/accounts/{account_token}/refunds/{refund_token}/transitions
Use the /accounts/{account_token}/refunds/{refund_token}/transitions endpoint to transition a credit account refund’s status to a new status.

URL path parameters

Request body

Sample request body

JSON

Response body