Right its $create_payment_request. Are you able to print the request body that it builds?
$create_payment_request