Refund object

Attributes

AttributeTypeDescription
id stringThe unique, Clearpay-generated refund ID.
refundedAt stringA UTC timestamp of the refund creation time, in ISO 8601 format.
merchantReferencestringThe merchant’s corresponding refund ID or reference.
amountMoneyThe refund amount.

Example Refund object

UK
1{
2 "id": "67890123",
3 "refundedAt": "2019-01-01T00:00:00.000Z",
4 "merchantReference": "merchantRefundId-1234",
5 "amount": {
6 "amount": "10.00",
7 "currency": "GBP"
8 }
9}