Developer Documentations

 

Self Help
Table of Contents
Print
HTTP Method POST
Operation Used by Merchant to charge/subscribe or unsubscribe the user

curl –location –request POST ‘https://[Dizlee API Endpoint]’ \
–header ‘Content-Type: application/json’ \
–header ‘apikey: {APIKey}’ \
–header ‘HTTP_MSISDN: 9641234567890’ \
–data-raw ‘{ “subRequestId”:”DVO00003b26b140600ce5cc9296″, “subscriptionId”: ” DVO00003b26b140600254″, “type”:”Subscribe”,
“userId”:”964123456789″, “SID”:”123”,
“PID”:”456”,
“aggregatorId”:”[aggregatorName]”, “merchantId”:”[merchantName]”, “product”:”[Product]”, “subProduct”:”[subProduct]”,
“promoter”: “merchant or Telco operator”, “channel”:”WEB”
}’