$data = json_encode(array(
"ShortCode" => "600981",
"ResponseType" => "Completed",
"ConfirmationURL" => "https://mydomainx.com/confirmation",
"ValidationURL" => "https://mydomainx.com/validation",
));
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);