Developer Documentations

 

Self Help
Table of Contents
Print
HTTP Method POST
Operation Used by Merchant to refund the user

 

curl –location –request POST ‘https://[Dizlee API Endpoint]’ \
–header ‘Content-Type: application/json’ \
–header ‘apikey: {APIKey}’ \
–header ‘HTTP_MSISDN: 9641234567890’ \
–data-raw ‘{ “refundRequestId”:”DVO00003b26b140600ce5cc9296″, “subscriptionId”: “SP”, “transactionId”:”8635081281569934573″, “chargeId”:”8635081281569934573″, “userId”:”964123456789″,
“amount”:0.001,
“currency”:”IQD”, “aggregatorId”:”[aggregatorName]”, “merchantId”:”[merchantName]”, “product”:”[Product]”, “subProduct”:”[subProduct]”, “reason”:”test”,
“purpose”:”[Purpose]”
}’