RefundRetrieve
GEThttps://api.twisto.cz/psp/smi/refunds/{refundId}
GEThttps://api.twisto.pl/psp/smi/refunds/{refundId}
Get refund by its identifier.
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 |
---|---|---|---|---|---|
refundId | string | true |
Responses
Body
- 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
{
"id": "string",
"reason": "string",
"amount": "490.00",
"created_date": "string",
"reference": "string",
"checkout_id": "string"
}