Skip to main content

Input fields

accountNumber : ID! required

The account number.

amountInMinorUnit : Int! required

The amount to be repaid.

idempotencyKey : String! required

Unique constraint to prevent duplicate requests.

paymentId : ID! required

The ID of the payment to refund.

reason : String! required

Reason for refunding the payment.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "accountNumber": "A-A94E5374", "amountInMinorUnit": 3, "idempotencyKey": "agent-must-voice-high-describe", "paymentId": "66655527", "reason": "rise-month-shake-voice-need" }