Developer Documentations

 

Self Help
Table of Contents
Print
HTTP Method POST
Operation Used by merchant to charge the user

 

curl –location –request POST ‘https://[Dizlee API Endpoint]’ \
–header ‘Content-Type: application/json’ \
–header ‘apikey: {APIKey}’ \
–header ‘HTTP_MSISDN: 9641234567890’ \
–data-raw ‘{ “chargeRequestId”:”8635081281569934573″, “subscriptionId”:”SP”, “userId”:”964123456789″,
“type”:”SinglePurchase”, “firstCharge”:true, “amount”:0.001,
“currency”:”IQD”, “totalCharge_p30d”:0, “aggregatorId”:”[aggregatorName]”, “merchantId”:”[merchantName]”, “product”:”[Product]”, “subProduct”:”[subProduct]”, “channel”:”WEB”, “promoter”:”[Merchant or Telco]”
}’