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 name | Type | Description | Required | Default values | Min/Max values | 
|---|---|---|---|---|---|
| checkoutId | string | Refunds for specific checkout | false | ||
| limit | integer | Records limit | false | 200 | 11000 | 
| skip | integer | Skip number of records | false | 0 | 
Responses
Body
- count: integerExample
123 - next: string<uri> or nullExample
http://api.example.org/accounts/?skip=400&limit=100 - previous: string<uri> or nullExample
http://api.example.org/accounts/?skip=200&limit=100 - items: array[object]
- id: stringrequired
External ID of the refund
 - reason: stringrequired
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": "266.00",
      "created_date": "string",
      "reference": "string",
      "checkout_id": "string"
    }
  ]
}