Refund object

Attributes

AttributeTypeDescription
requestIdstringA unique request ID, required (in conjunction with merchantReference) for safe retries. We recommend that merchants generate a UUID for each unique refund. Max character length = 64.
amountMoney (required)The refund amount.
merchantReferencestringThe merchant’s corresponding refund ID or reference, required (in conjunction with requestId) for safe retries. Max character length = 64.
refundIdstringThe unique, Cash App Afterpay-generated refund ID.
refundedAtstringA UTC timestamp of the refund creation time, in ISO 8601 format.
refundMerchantReferencestringA unique reference for the individual refund event. If provided, the value appears in the daily settlement file as “Payment Event ID”. In most cases, this holds the same value as the merchantReference. Max character length = 128.

Example Refund object

1{
2 "requestId" : "956946da-4863-4797-aa7c-540050faf922",
3 "amount" : {
4 "amount" : "10.00",
5 "currency" : "USD"
6 },
7 "merchantReference" : "merchantRefundId-1234",
8 "refundId" : "67890123",
9 "refundedAt" : "2024-01-01T00:00:00.000Z",
10 "refundMerchantReference" : "merchantRefundId-1234"
11}