create refundAsk AIpost https://api.sandbox.zeptopayments.com/payto/refundsBody Paramsuidstringrequiredlength between 1 and 64Supplied unique identifier for refund, maximum 64 characters containing only unreserved characters as defined in RFC3986. This identifier ensures refund uniqueness between integrator systems and Zepto.original_payment_uidstringrequiredThe supplied UID related to the PayTo Payment to be refundedrefund_paymentfloat_bank_paymentpay_to_paymentrequiredDescribes the payment that will be used to facilitate this refundpayto.refund.float_bank_payment objectmetadataobject | nullUse for your custom data. A place to store any miscellaneous information your system may need in regards to the record you are creating. This will be included in associated webhook payloads under the resource_metadata key. Nested values (i.e., objects and arrays) are not allowed. The maximum size of this parameter is 2kb.metadata object | nullsandboxobjectSANDBOX ONLY: Parameter that allows you to simulate the created refund going through certain scenarios to aid integrators while testing their control flows. Defaults to success if not given.sandbox objectHeadersZepto-API-VersionstringDefaults to 20250101API version in YYYYMMDD format. Defaults to 20250101 (legacy) when omitted.Responses 201successful 400Bad Request 422Unprocessable EntityCallbackspayto_refund.processedpostDESTINATION_WEBHOOK_URLpayto_refund.failedpostDESTINATION_WEBHOOK_URLUpdated 5 months ago