Create Refund TransactionCopy Pagepost https://qa.interswitchng.com/paymentgateway/api/v1/refundsRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsrefundReferencestringDefaults to kjsd313sjdsyegdie9322ssaud0004This is a unique identifier sent by the merchant to identify his refund. I propose they should be guided to append their merchant code as a prefix so as not to clash with some other merchant's ID. If this field is not provided, a randomly reference is generated. Max length is 100parentTransactionReferencestringThe transaction reference of the initial payment.Please Note: This field is Optional if parentPaymentId supplied. It is required if parentPaymentId is supplied. Max length is 100parentPaymentIdstringDefaults to 3207368The payemnt Id of the initial payment. This field is Optional if parentTransactionReference is supplied. Required if parentTransactionReference is supplied. Max length is 100refundTypestringDefaults to PARTIALIt should be either PARTIAL or FULL. If PARTIAL, the refundAmount should be passed. If FULL, the refundAmount does not need to be passed. The full transaction amount will be refunded.refundAmountstringDefaults to 10The amount is in minor. If the refundType is PARTIAL, this field is mandatory. If the refundType is FULL, this field is not mandatory.createdBystringThe details of the user that initiated the refund.reasonsForRefundstringDetails of why a refund was requested.HeadersAuthorizationstringrequiredDefaults to Bearer eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOlsiaXN3LWNvbGxlY3Rpb25zIiwiaXN3LXBheW1lbnRnYXRld2F5IiwicGFzc3BvcnQiLCJwcm9qZWN0LXgtbWVyY2hhbnQiLCJ2YXVsdCJdLCJtZXJjaGFudF9jb2RlIjoiTVg2MDcyIiwicmVxdWVzdG9yX2lkIjoiMTIzODA4NTk1MDMiLCJzY29wZSI6WyJwcm9maWxlIl0sImp0aSI6IjVkOTczM2Y5LWMzNDEtNGFjZC04ZjE3LWViYzUyYWE0NjM2MiIsInBheWFibGVfaWQiOiIzMzU5NyIsImNsaWVudF9pZCI6IklLSUFCMjNBNEUyNzU2NjA1QzFBQkMzM0NFM0MyODdFMjcyNjdGNjYwRDYxIn0.ElgBX2KoF9LuUUpeBGzzp8CDAllTHWfgM6pJRgTtPYGJpoZufKlJrmE4QTvZV6MIVaNtK21majTgR4qXJr7CEkPK_4zCIHyN2b8a445vqhLYcbffQvK4EeUn_RzsWTmub2bruG5s4bRS1il5itPR0QQ-trEsbELU7TAHvC4p786RiAQd-K_I0bwtLzIXQN65jlw3eJxxK-BGfca-OMTUo9HGvraebfLB-7h4-vNbPred58gfLBSwK31jaLP19cMRc5Jea28jrlmGNUhHGzjnP7ZanqgC9uuvoepQsa39_DNBonR6xirxKw4aNlNLcKOTn026wyOTHIHUGlDQ3s3AOQContent-TypestringrequiredDefaults to application/jsonResponses 200200 400400Updated 15 days ago