PaymentsRefund a PaymentCopy Pagepost https://api-dev.gettrx.com/payments/v1/refundsBody ParamspaymentRequeststringrequiredThe ID of the PaymentReques to be refunded.amountfloatDefaults to 100The amount to refund if issuing a partial refund for the payment request.reasonstringenumThe reason for the refund.duplicatefraudulentrequested_by_customerotherAllowed:duplicatefraudulentrequested_by_customerotherreasonNotesstringThe notes for the reason provided.HeadersidempotencyKeystringA unique identifier to ensure the same operation isn't processed multiple times, preventing duplicate transactions.onBehalfOfstringSpecifies the account for which the refund is intended. This is used for scenarios where one partner processes payments on behalf of another partner, such as in PayFac or related partner relationships.Responses 201201 400400 401401Updated about 1 year ago Capture a PaymentSend Payment ReceiptDid this page help you?YesNo