title: MPGS Integrations CREATE_CHECKOUT_SESSION cURL
body: <p>Im trying to configure MPGS and trying to setup the callback url. it requires creating a session using REST.</p>
  
  <p>the code is something like the bellow one. im not sure how is the code should be written with cURL. can anybody help</p>
  
  <p>Thanks</p>
  
  <pre><code>POST https://cbcmpgs.gateway.mastercard.com/api/rest/version/47/merchant/XXXXXXXXXX/session
  
  
  {
  "apiOperation": "CREATE_CHECKOUT_SESSION",
  "order": {
   "currency": "LKR",
   "id": "20181003001"
  },
  "interaction": {
   "returnUrl": "http://www.google.lk"
  }
  </code></pre>