HTTP Client
1
Total requests
0
HTTP errors
Clients
http_client 1
Requests
| POST | https://apis.sandbox.globalpay.com/ucp/accesstoken | |
|---|---|---|
| Request options | [ "headers" => [ "Content-Type" => "application/json" "x-gp-version" => "2021-03-22" ] "json" => [ "app_id" => "C77sAiv9JzKG7rU48ZeCiHa6l7kf8VUk" "secret" => "33c144daff1bc429fab02fca64b1f0f9bae6f47c35b984d2bfcffa2fd8cf72d117cdf01931548ac0c9f541b8bed634f8f04f8e529dfd60af0ceed1fba63f5c97" "nonce" => "95b349a33d8dd590" "grant_type" => "client_credentials" "interval_to_expire" => "10_MINUTES" "restricted_token" => "YES" "permissions" => [ "PMT_POST_Create_Single" ] ] ] |
|
| Response |
200
[ "info" => [ "header_size" => 870 "request_size" => 220 "total_time" => 0.504433 "namelookup_time" => 0.045729 "connect_time" => 0.070824 "pretransfer_time" => 0.103933 "size_upload" => 346.0 "size_download" => 396.0 "speed_download" => 785.0 "speed_upload" => 686.0 "upload_content_length" => 346.0 "starttransfer_time" => 0.103952 "primary_ip" => "35.227.126.167" "primary_port" => 443 "local_ip" => "72.10.168.162" "local_port" => 60026 "http_version" => 3 "protocol" => 2 "scheme" => "HTTPS" "appconnect_time_us" => 103836 "connect_time_us" => 70824 "namelookup_time_us" => 45729 "pretransfer_time_us" => 103933 "starttransfer_time_us" => 103952 "total_time_us" => 504433 "start_time" => 1780691298.7467 "original_url" => "https://apis.sandbox.globalpay.com/ucp/accesstoken" "pause_handler" => Closure(float $duration) {#1186 : "Symfony\Component\HttpClient\Response\CurlResponse" : { : CurlHandle {#929 …} : Symfony\Component\HttpClient\Internal\CurlClientState {#1171 …} : -9223372036854775808 } } "debug" => """ * Trying 35.227.126.167...\n * TCP_NODELAY set\n * Connected to apis.sandbox.globalpay.com (35.227.126.167) port 443 (#0)\n * ALPN, offering h2\n * ALPN, offering http/1.1\n * successfully set certificate verify locations:\n * CAfile: /etc/pki/tls/certs/ca-bundle.crt\n CApath: none\n * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384\n * ALPN, server accepted to use h2\n * Server certificate:\n * subject: CN=apis.sandbox.globalpay.com\n * start date: Apr 27 23:39:28 2026 GMT\n * expire date: Jul 27 00:35:24 2026 GMT\n * subjectAltName: host "apis.sandbox.globalpay.com" matched cert's "apis.sandbox.globalpay.com"\n * issuer: C=US; O=Google Trust Services; CN=WR3\n * SSL certificate verify ok.\n * Using HTTP2, server supports multi-use\n * Connection state changed (HTTP/2 confirmed)\n * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0\n * Using Stream ID: 1 (easy handle 0x1917b20)\n > POST /ucp/accesstoken HTTP/2\r\n Host: apis.sandbox.globalpay.com\r\n Content-Type: application/json\r\n x-gp-version: 2021-03-22\r\n Accept: */*\r\n User-Agent: Symfony HttpClient (Curl)\r\n Accept-Encoding: gzip\r\n Content-Length: 346\r\n \r\n * We are completely uploaded and fine\n * Connection state changed (MAX_CONCURRENT_STREAMS == 100)!\n < HTTP/2 200 \r\n < content-type: application/json\r\n < accept: application/json\r\n < x_action_id: ACT_6etAeOfXIyMcKCViGDZEWF3fG95mFt\r\n < x-gp-version: 2021-03-22\r\n < cache-control: private,no-store\r\n < x-content-type-options: nosniff\r\n < x-frame-options: DENY\r\n < x_global_transaction_id: rrt-fa0bdbb9-1b79-44aa-ada5-b8a736c0eb8em34g4\r\n < x_global_transaction_id_source: gp-apigee\r\n < x-request-id: 3aa576ff-8856-4311-a8eb-494dbee2ddd01222164.1\r\n < date: Fri, 05 Jun 2026 20:28:19 GMT\r\n < access-control-allow-origin: \r\n < access-control-allow-headers: origin, apikey, apienv, authorization, Authorization, x-requested-with, accept, content-type, username, x-gp-version\r\n < access-control-max-age: 3628800\r\n < access-control-allow-methods: GET, PUT, POST, DELETE, OPTIONS\r\n < access-control-allow-credentials: true\r\n < content-encoding: gzip\r\n < strict-transport-security: max-age=31536000; includeSubDomains\r\n < via: 1.1 google\r\n < \r\n """ ] "response_headers" => [ "HTTP/2 200 " "content-type: application/json" "accept: application/json" "x_action_id: ACT_6etAeOfXIyMcKCViGDZEWF3fG95mFt" "x-gp-version: 2021-03-22" "cache-control: private,no-store" "x-content-type-options: nosniff" "x-frame-options: DENY" "x_global_transaction_id: rrt-fa0bdbb9-1b79-44aa-ada5-b8a736c0eb8em34g4" "x_global_transaction_id_source: gp-apigee" "x-request-id: 3aa576ff-8856-4311-a8eb-494dbee2ddd01222164.1" "date: Fri, 05 Jun 2026 20:28:19 GMT" "access-control-allow-origin: " "access-control-allow-headers: origin, apikey, apienv, authorization, Authorization, x-requested-with, accept, content-type, username, x-gp-version" "access-control-max-age: 3628800" "access-control-allow-methods: GET, PUT, POST, DELETE, OPTIONS" "access-control-allow-credentials: true" "content-encoding: gzip" "strict-transport-security: max-age=31536000; includeSubDomains" "via: 1.1 google" ] "response_json" => [ "token" => "NjGLWvFJYXRKmsuuYKKx4gMdBlgP" "type" => "Bearer" "scope" => [ "merchant_id" => "MER_7e3e2c7df34f42819b3edee31022ee3f" "merchant_name" => "Sandbox_merchant_3" "accounts" => [ [ "id" => "TKA_b3a46f0f351f43cfad20acf5c32fea50" "name" => "tokenization" "permissions" => [ "PMT_POST_Create_Single" ] ] ] ] "app_id" => "C77sAiv9JzKG7rU48ZeCiHa6l7kf8VUk" "app_name" => "mrad" "time_created" => "2026-06-05T20:28:18.996Z" "seconds_to_expire" => 599 "interval_to_expire" => "10_MINUTES" "email" => "mradmohamed700@gmail.com" ] ] |
|