Contract 4d1e0ad · updated 2026-11-11
Lissen Ticketing

Refunds

Try itPOST https://pr-7180-ticketing-api.erik-1c8.workers.dev/v1/refunds

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), Idempotency-Key (required header parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
Idempotency-Key*string

Required replay key for this create operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

order_id?string

The order whose positions are refunded. Give exactly one of order_id or membership_charge_id.

Match^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
position_ids?array<>

Required with order_id; refused with membership_charge_id.

Items1 <= items
membership_charge_id?string

Refund (part of) a settled membership payment. Needs amount_minor; type may only be money_only. The membership is left exactly as it is: not cancelled, paused or switched, its benefits and renewal schedule unchanged, no ticket revoked. A refund is never treated as paying an overdue renewal.

Match^mch_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
type?string

refund_and_revoke returns each position's remaining refundable amount and revokes it: the ticket no longer admits. money_only returns amount_minor against the positions and leaves them live: same ticket, same holder, same capacity. Defaults to refund_and_revoke for an order and to money_only for a membership charge.

Value in

  • "refund_and_revoke"
  • "money_only"
amount_minor?integer

Required for money_only and for a membership charge, refused for refund_and_revoke: the money to return, in the order's or charge's currency minor units. It may not exceed the order's amount_refundable_minor and what the named positions still hold, or the charge's amount_refundable_minor.

Range0 < value
reason?string
Default"requested_by_customer"

Value in

  • "requested_by_customer"
  • "duplicate"
  • "fraudulent"
metadata?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/refunds" \  -H "Ticketing-Organizer: string" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "object": "refund",  "order_id": "string",  "membership_id": "string",  "membership_charge_id": "string",  "status": "processing",  "type": "string",  "amount_minor": 0,  "fee_refund_minor": 0,  "currency": "string",  "external": true,  "reason": "requested_by_customer",  "failure_reason": "string",  "position_ids": [    "string"  ],  "psp_refs": {    "property1": null,    "property2": null  },  "created": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itGET https://pr-7180-ticketing-api.erik-1c8.workers.dev/v1/refunds

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string
order_id?string
Match^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
membership_id?string
Match^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
membership_charge_id?string
Match^mch_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
status?string

Value in

  • "processing"
  • "completed"
  • "failed"
external?string

Value in

  • "true"
  • "false"

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/refunds" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "id": "string",      "object": "refund",      "order_id": "string",      "membership_id": "string",      "membership_charge_id": "string",      "status": "processing",      "type": "string",      "amount_minor": 0,      "fee_refund_minor": 0,      "currency": "string",      "external": true,      "reason": "requested_by_customer",      "failure_reason": "string",      "position_ids": [        "string"      ],      "psp_refs": {        "property1": null,        "property2": null      },      "created": "2019-08-24T14:15:22Z",      "metadata": {        "property1": null,        "property2": null      }    }  ],  "has_more": true}
Try itGET https://pr-7180-ticketing-api.erik-1c8.workers.dev/v1/refunds/{id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^rfd_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/refunds/string" \  -H "Ticketing-Organizer: string"
{  "id": "string",  "object": "refund",  "order_id": "string",  "membership_id": "string",  "membership_charge_id": "string",  "status": "processing",  "type": "string",  "amount_minor": 0,  "fee_refund_minor": 0,  "currency": "string",  "external": true,  "reason": "requested_by_customer",  "failure_reason": "string",  "position_ids": [    "string"  ],  "psp_refs": {    "property1": null,    "property2": null  },  "created": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itGET https://pr-7180-ticketing-api.erik-1c8.workers.dev/v1/disputes

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string
order_id?string
Match^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
status?string

Value in

  • "open"
  • "won"
  • "lost"

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/disputes" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "id": "string",      "object": "dispute",      "order_id": "string",      "status": "open",      "amount_minor": 0,      "currency": "string",      "reason": "string",      "evidence_due_by": "2019-08-24T14:15:22Z",      "psp_refs": {        "property1": null,        "property2": null      },      "created": "2019-08-24T14:15:22Z",      "metadata": {        "property1": null,        "property2": null      }    }  ],  "has_more": true}
Try itGET https://pr-7180-ticketing-api.erik-1c8.workers.dev/v1/disputes/{id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^dsp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/disputes/string" \  -H "Ticketing-Organizer: string"
{  "id": "string",  "object": "dispute",  "order_id": "string",  "status": "open",  "amount_minor": 0,  "currency": "string",  "reason": "string",  "evidence_due_by": "2019-08-24T14:15:22Z",  "psp_refs": {    "property1": null,    "property2": null  },  "created": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}