<?php
// Initialize cURL session
// Set the URL and headers
CURLOPT_URL => 'https://g...content-available-to-author-only...m.pk/jazzcash/third-party-integration/srv2/api/wso2/ibft/inquiry',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
"data" => "8e7ad04bffae4f1b7985ee1d116d2a88fffaf4a673425924da6330ac6a403faca943c13d4b01c2fbe1d7e628b7f0c709efceeea5deadbf946f397b08cdcd3b66bbe271f21fb6b2c2be6f7161af2d4bfa4eab75f83ddbc65252fd78e82929300c6e6c89a8ff30c646db0f19bb78027d947a1f32c5c6218b00bce19a531730fe8222579a66df66ed8d732cf3c18c6d521495573fbfa2eb24bf908092c1cda0d7fa"
]),
CURLOPT_HTTPHEADER
=> array( 'Accept: application/json',
'Authorization: Bearer 006d907f-16c5-39f6-8fe6-092f20e0fd08',
'Content-Type: application/json'
),
));
// Execute the request and capture the response
// Check for errors
// Close cURL session
// Check the result
if ($err) {
echo "cURL Error #: " . $err;
} else {
echo $response;
}
PD9waHAKCi8vIEluaXRpYWxpemUgY1VSTCBzZXNzaW9uCiRjdXJsID0gY3VybF9pbml0KCk7CgovLyBTZXQgdGhlIFVSTCBhbmQgaGVhZGVycwpjdXJsX3NldG9wdF9hcnJheSgkY3VybCwgYXJyYXkoCiAgICBDVVJMT1BUX1VSTCA9PiAnaHR0cHM6Ly9nLi4uY29udGVudC1hdmFpbGFibGUtdG8tYXV0aG9yLW9ubHkuLi5tLnBrL2phenpjYXNoL3RoaXJkLXBhcnR5LWludGVncmF0aW9uL3NydjIvYXBpL3dzbzIvaWJmdC9pbnF1aXJ5JywKICAgIENVUkxPUFRfUkVUVVJOVFJBTlNGRVIgPT4gdHJ1ZSwKICAgIENVUkxPUFRfRU5DT0RJTkcgPT4gJycsCiAgICBDVVJMT1BUX01BWFJFRElSU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