Refund a completed payment (full or partial)
Use the access token obtained from /v1/auth/token
UUID for idempotent requests
Payment ID
Refund created
"refund_xyz789"
"pay_abc123"
pending, processing, completed, failed "pending"
5000
"XOF"
customer_request, fraud, duplicate, error, other "customer_request"
"Customer requested refund"
null
"2024-01-15T11:00:00Z"
null
null