<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://checkout.sandbox.bka.sh/v1.2.0-beta/checkout/payment/execute/OV72SB81670160241616',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_HTTPHEADER => array(
  'Content-Type:application/json',
    'authorization: eyJraWQiOiJmalhJQmwxclFUXC9hM215MG9ScXpEdVZZWk5KXC9qRTNJOFBaeGZUY3hlamc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI4ZGU4ZjBlMC1mY2RjLTQyNzMtYjY4YS1iNDAwOWNjZjc3ZDEiLCJhdWQiOiI2NmEwdGZpYTZvc2tkYjRhMDRyY24wNjNhOSIsImV2ZW50X2lkIjoiMjg5MWM0MGEtYTA3Mi00NTdiLThmMjMtM2YxNTcxNDM5NDVhIiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE2NzAxNjE2ODIsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC5hcC1zb3V0aGVhc3QtMS5hbWF6b25hd3MuY29tXC9hcC1zb3V0aGVhc3QtMV9rZjVCU05vUGUiLCJjb2duaXRvOnVzZXJuYW1lIjoidGVzdGRlbW8iLCJleHAiOjE2NzAxNjUyODIsImlhdCI6MTY3MDE2MTY4Mn0.TGjHOXZy-4cFkEOEL1xpYlrYTUP11tz6CcYYtgZvv_4dBMudfG3VE1Uj4IajkkmWiOIVPOFbnGmbEa3zCJJhvhLQbDgGpdygiqsaYwhsho9N3lipriCFWqcn1PY4kxzdOw2mnO79alRb-ZlMNE4thL48EU_6v58CDBmCTwYcpWlCy92pKw8CYHZcsBSIpsDM3szmRs_o0ydvJH6DHXwLUR3qRPdIp0xUFqZlGVOADCOsym96sMb4M4hyhsi83BzHyn4XYrcxIUEUqMZRwaBZGmhpi9zXo1fPdgDLyGMPLMl8gPAyjXSAxUL4UnXr8GRt7mWhk9Ir5H1GmUFXolFAqA',
    'x-app-key: 5nej5keguopj928ekcj3dne8p'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

