Google Pay
POST
https://api.freedompay.kg/g2g/payment
Request
Body Params multipart/form-data
pg_amount
number
required
Example:
500
pg_auto_clearing
string
optional
Example:
0
pg_currency
string
required
Example:
KZT
pg_description
string
required
Example:
Payment #1
pg_merchant_id
integer
required
Example:
9970
pg_order_id
string
required
Example:
302911642
pg_payment_method
string
optional
Example:
google_pay
pg_tokenized_payment_data
array[string]
optional
Example:
["{\n \"signature\": \"MEQCIG4rKsp0ldpV20ujIxji9KZRtMvbicCnDzgKCLZxvkmiAiAXuke7uzcdzRKq6sAifb4ST5dZjy/1lzd1Y566xLMIIg\\u003d\\u003d\",\n \"intermediateSigningKey\": {\n \"signedKey\": \"{\\\"keyValue\\\":\\\"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJ9E0ixlcIPr5Pw0mJQaxmCF0ALdoSdtUp/Vn6ctWuNY0NdN0Tj9pO02NE+m5tdetboUfqP6s4ZwWNjZQXAJDKQ\\\\u003d\\\\u003d\\\",\\\"keyExpiration\\\":\\\"1672120937000\\\"}\",\n \"signatures\": [\n \"MEQCIH+zIK9y8EZpuEQ0Dw9xAEpC20IGmG0A2pZWkKmg1YezAiB02QD0qDIGisw+KjwLlFss0eK1yEXlYkgyOtJWmOweXA\\u003d\\u003d\"\n ]\n },\n \"protocolVersion\": \"ECv2\",\n \"signedMessage\": \"{\\\"encryptedMessage\\\":\\\"ygBdahs6ZSvmc6ip8OqaNrJOJgr7p+S6xALIMUodL83knnyoztbCm5Ok6ZqmHuzsD0Fs1JgWp5SexQrlHGbigwyNwLn4002/fwWPuFIykYH+aJMG9azcSn8GvRLiU+0AtuHZ9LzQQtsgMlFZTpTCIoBajWl/7xgHI6hy555JmT8Y8TgiY6jsYdjUD28FxOOFPUQEx3M4IsgjTaerXO8o5VYr7ymdoPWeWpPy/ZlT+RL4mwLiVn7bnqfXeUVS0e+Ogzb/lgAdRARPIwIbkcsquVRrKN66t8X15OhqPbxewk/xbD0A3IzKk8pDaLhNIoTwCa+7fuNT0xs13f/oZmzitRapHkBGNbH7/xKkbunianzUDM1blr2oH6JiOFJXPYyKOP+5tLI/Z5PrybK1A0j1TsdhOYiLCgZXKO+HOXmKiUUBtHJAr1mW6v0Y0eyXghhFiEqsH4PvTgHCWkLz1yP22UoH3E0oiOXcN3xwNIzLVX+ck75AknNdtL2CIWcw2Pcz10a5x28r1P3o262PKhEjIstLrPIj/nHhd2jA3cm/gyRNV0uoGZS9pyljzhDGdDpN6NmrczMEdW1HkRclyNaPWGIdw/xKUiVhsmqYmR7rsbIbIh/PaM5fEYANJMZBH8A3Lbe5gUTr1mAR\\\",\\\"ephemeralPublicKey\\\":\\\"BIiEqj+GZlQREoaVEKLrmN3Lf9S0xgWE+qYNGlkKOib7w6XYl5IbiFMIsGYn+xD8N2p5rE4+SMwpcueS4ZZhX+w\\\\u003d\\\",\\\"tag\\\":\\\"qjQlnu+6vq72q4FHlylj+IV9Q4fFpox2m4KqlUixeII\\\\u003d\\\"}\"\n}"]
pg_salt
string
required
Example:
7fe2b875f72542e3b3704288e92661cd
pg_user_ip
string
optional
Example:
95.83.118.177
pg_sig
string
required
Example:
bfe9284b46b020c8528e4191c58f2222
Request samples
Responses
Modified at 2025-02-03 10:08:06