POST /v1/checkouts/{checkoutId}/refundcheckoutId (string, required): The unique identifier of the checkout session to refund.checkoutId (string, required): The unique identifier of the checkout session to refund.amount (integer, required): The amount to refund in the smallest currency unit (e.g., cents for USD).currency (string, required): The currency code (e.g., “usd”).reason (string, optional): The reason for the refund (e.g., “customer_request”, “fraudulent”).404 Not Found: The specified checkout session does not exist.400 Bad Request: Invalid request parameters or refund amount exceeds the original payment.401 Unauthorized: Invalid or missing API key.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
UUID
1000Checkout refunded
"refund_cs_123456789"
"cs_ci_123456789"
pending, processing, completed, failed "XOF"