RefundList

GEThttps://api.twisto.cz/psp/v4/refunds
GEThttps://api.twisto.pl/psp/v4/refunds

Get list of refunds.

Security: Bearer Auth

Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123

Query Parameters

Param nameTypeDescriptionRequiredDefault valuesMin/Max values
checkoutIdstringRefunds for specific checkoutfalse
limitintegerRecords limitfalse20011000
skipintegerSkip number of recordsfalse0

Responses

Body

  • count: integer
    Example 123
  • next: string<uri> or null
    Example http://api.example.org/accounts/?skip=400&limit=100
  • previous: string<uri> or null
    Example http://api.example.org/accounts/?skip=200&limit=100
  • items: array[object]
    • id: string
      required

      External ID of the refund

    • reason: string
      required

      Reason for the refund given by customer

      <= 255 characters
    • amount: string<decimal>
      required

      Amount refunded to customer

      Match pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
    • created_date: string<date-time>
      required

      Date when the refund was created

    • reference: string

      The reference for this refund, should be used in single transaction you sent us in case of manual settlement

      <= 140 characters
    • checkout_id: string

Response example

{ "count": 123, "next": "http://api.example.org/accounts/?skip=400&limit=100", "previous": "http://api.example.org/accounts/?skip=200&limit=100", "items": [ { "id": "string", "reason": "string", "amount": "512.00", "created_date": "string", "reference": "string", "checkout_id": "string" } ] }