createRefundPayment
Create a refund payment for an intent, e.g. USER, COMPANY, INVOICE
This page contains
Arguments
| input CreateRefundPaymentInput! PREVIEW |
CreateRefundPaymentInput fields
| originalPaymentId ID! | Intents for which payment is being made, Intent can be USER/COMPANY/INVOICE |
| flowType FlowType! PREVIEW | Information about from where payment is being initiated |
| intent RefundIntent! PREVIEW | Refund intent for which payment is being made |
| source PaymentSource! PREVIEW | Payment Source for payment |
| userId ID! | Target user's id for which payment is being made |
| accountId ID! | Target account's id for which payment is being made |
| merchantOfRecordType String! | Merchant of record type, e.g. TENANT, RESELLER etc |
| isRefundProcessedOffPlatform Boolean! | Refund is processed off platform |
| refundReason String! | Refund Reason |
| properties [PropertyInput] PREVIEW | Payment additional properties |
Return Fields
| payment Payment PREVIEW | |
| userErrors [CreatePaymentError!] PREVIEW |
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.