Get Refunds of Order
GET/order/:guid/refunds
Retrieves the Refunds of the specific Order.
Request
Path Parameters
The guid of the Order.
Responses
- 200
- 404
Refunds of Order found.
- application/json
- Schema
- Example (from schema)
Schema
The guid of the Refund.
The guid of the Order that is being refunded. (A new Order is created to be able to refund, see order_id
)
The guid of the Order this Refund belongs to.
The payment of the original Order (see original_order_id
). This is what is paid originally and will be (partly) refunded by the new payment (see payment_id
).
The guid of the Payment this Refund belongs to.
The guid of the PaymentMethod this Refund belongs to.
Possible values: [payment
, payout
]
The type of the Refund.
The amount (to be) refunded in cents.
The currency in which the Refund will be paid.
The current status of the Refund.
The description of the Refund.
The id of the transaction provided by the external Payment Provider.
This contains the error, if the Refund could not execute due to an error.
The unix timestamp at which the Refund was executed.
The time it was created.
The time it was last updated.
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"original_order_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"order_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"original_payment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"payment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"payment_method_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "payment",
"amount": 0,
"currency": "string",
"status": "string",
"description": "string",
"refund_transaction_id": "string",
"refund_error": "string",
"executed_at": 0,
"created_at": "string",
"updated_at": "string"
}
Order not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}