Redemptions

List redemption reversals

List reversals for a redemption, newest first.

get/v1/redemptions/{redemption_id}/reversals

Request

  • Base URL: https://api.scrip.dev
  • URL: https://api.scrip.dev/v1/redemptions/{redemption_id}/reversals
  • Auth: HTTP bearer

Path parameters

redemption_idstring uuid required

The redemption's id.

Query parameters

limitinteger

Return at most this many records, from 1 to 200, default 50.

cursorstring

The next_cursor from the previous response, valid only with the same endpoint and filters.

created_afterstring date-time

Return only records created after this time, RFC 3339.

created_beforestring date-time

Return only records created before this time, RFC 3339.

Response

List of reversals

Example response

{
  "data": [
    {
      "amount": "500.00",
      "created_at": "2027-01-15T10:30:00Z",
      "id": "9e3c5b71-6d28-4a94-8f1e-0c7b2a4d6e11",
      "journal_entry_id": "657a0312-1aaa-4ba7-842b-edfbb39edf14",
      "quantity": 1,
      "reason": "Customer refund request",
      "redemption_id": "7f422b43-4ba2-41c7-b05d-e4e90b68e978"
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "YWJjMTIz"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.