BatchEntryList
GEThttps://api.twisto.cz/psp/smi/batch/{batchUuid}/entry
GEThttps://api.twisto.pl/psp/smi/batch/{batchUuid}/entry
Get a list of batch entries.
Security: Bearer Auth
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Path Parameters
Param name | Type | Description | Required | Default values | Min/Max values |
---|---|---|---|---|---|
batchUuid | string | Batch identifier | true |
Query Parameters
Param name | Type | Description | Required | Default values | Min/Max values |
---|---|---|---|---|---|
limit | integer | Records limit | false | 200 | 1 1000 |
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: string<uuid>required
Identifier
- type: stringrequired
Type of batch entry: any of
"order"
or"refund"
Allowed values:order
refund
- destination_account_number: string or nullrequired
Destination bank account number
- reference: string or nullrequired
Settlement reference used in relevant batch transaction
- checkout_id: stringrequired
Checkout's ID
- refund_id: string or nullrequired
Refund's ID
- date_created: string<date-time>required
When was the entry created?
- amount: string<decimal>required
The current value of order minus refunds
Match pattern:^-?\d{0,8}(?:\.\d{0,2})?$
- order_reference: stringrequired
Generated or order reference provided during checkout creation
- refund_reference: string or nullrequired
Reference provided during refund creation
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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "refund",
"destination_account_number": "string",
"reference": "string",
"checkout_id": "string",
"refund_id": "string",
"date_created": "string",
"amount": "338.00",
"order_reference": "string",
"refund_reference": "string"
}
]
}