Ukrcard en
  1. Google Pay
Ukrcard en
  • Overview
  • Integration
  • Recipes
  • General Concepts
  • Merchant dashboard
  • References
    • Setting up and using the callback service
    • Transaction processing flows
    • Response Codes
    • Test Data
  • Our Restful API
    • E-Commerce acquiring
      • /Payment
      • /Preauthorization
      • /CancelPreauthorization
      • /Completion
      • /Confirm
      • /ConfirmExt
      • /Reverse
      • /Refund
      • /Verify
    • Transfers
      • /р2рTransfer
      • /Confirm
      • /ConfirmExt
      • /Reverse
      • /Refund
      • /Verify
    • Cards and accounts (UAPI)
      • /cards/issuacevirtualcard (140-Request for issuance of a virtual card)
      • /cards/issuacephysicalcard (141-Request for a physical card)
      • /cards/{panid}/baseparam/status (111-Request/change card status)
      • /cards/getcarddataecom (138-Request card details for eCommerce)
      • /cards/setpin (137-Request to set a PIN on a card)
      • /cards/changepin (136-Ordering a card PIN change and sending it via SMS )
      • /cards/gettransactions (122-Request for transaction history)
      • /cards/{panid}/baseparam/limits (112-Request/change card limits)
    • Payment transactions using tokens
      • /Payment
      • /Preauthorization
      • /Confirm
      • /ConfirmExt
      • /р2рTransfer
      • /Panbytoken
    • Apple Pay
      • /PaymentAppleD
      • /PaymentAppleE
    • Google Pay
      • /PaymentGoogleD
        POST
      • /PaymentGoogleE
        POST
  1. Google Pay

/PaymentGoogleE

Developing
POST
/PaymentGoogleE
• PaymentGoogleE – Request for payment via GooglePay with encrypted payment data:
"CRYPTOGRAM_3DS" - without using 3ds
"PAN_ONLY" - payment using 3ds

Request

Body Params application/json

Example
{
    "merchant": "googletest",
    "amount": "6050",
    "currencyCode": "980",
    "returnUrl": "https://success.callback.paynet.md",
    "paymentToken": {
        "signature": "MEUCIAxBoMQ6zFDB8xMXge3fAR/LxkWkbiRspMaReLXFvVMaAiEA9iGejfJaQeryQAxJWwhBWjMBHxdZh/a+UAAOOpZzlrc=",
        "intermediateSigningKey": {
            "signedKey": "{\"keyValue\":\"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8avPDkzZgeA+UYEZbqfC8TkBWLU8N9yIWomdWB+eQ59I637S+0EsTnXLcQEvQ9B7MwEh7C9v9fsMSTNdwTIL5g\\u003d\\u003d\",\"keyExpiration\":\"1699698690174\"}",
            "signatures": [
                "MEUCIQD/Ryy5gN+D+d+VYPQSKfb2GD+GM5FXAcN7Q73L/jf06AIgeag2Jk919/eaPillrs0z/r/W2QsTIGi8x+KWtS7oNvw="
            ]
        },
        "protocolVersion": "ECv2",
        "signedMessage": "{\"encryptedMessage\":\"ezyCQPxVm3JGfw5dm5rKLwpeS9Sf2fV6GS2WRMBE3kEOQR8mui2zlNPQgGn1U22qSuh8OW+HmdD8xxjQ9TX2AfpME6aqUDolb/7veAiaCrjg6iET8hLq3GL75ehEFgFrYIfv3F6g3RTnJ74T7SpHKoRsWLeo9AcY55p5nIR2HZnEuVJcJ2UB/RA347BGzFhQZyiFhEmE2EpqMZACYAH6iz5ob9bvugkGgewG8LvyDjXjqhiKfcAeOrBDGpNQLwM/UvUDm6aBkWbQdnjBwlZmMAwQKwUPtpr9L0hvgs2wWGa4S3YfdqzKJGZ2ka3khNDRNDs6rcPqfyC/1UxLxUJN5AvwfNLwUVEp62eBA5euz2zJrma1KwbyU7ZYtaRVOWxMt/d5Yk2nSeWPeliMAKqTvDKEe4yBdbdVDDg7ZXPJafb5hMeApY8baXCheq5Sd8pJKz3e07i8ucv0ByFOWpN9mngLZqJ1eBZjlQ6oMbM\\u003d\",\"ephemeralPublicKey\":\"BH7SBc3h3OJvYYrv79SzBF0JCTardLwcX8vrkTxwT2K7J6/LPh363m+dz570qwQt9WIXJiTUVBoRyo7kKojcScU\\u003d\",\"tag\":\"6szG7KKgQMv6Zxmq1PF7RnkjtflYm/xMVY/PVzdYdzY\\u003d\"}"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mock.apidog.com/m1/537337-0-default/PaymentGoogleE' \
--header 'Content-Type: application/json' \
--data-raw '{
    "merchant": "googletest",
    "amount": "6050",
    "currencyCode": "980",
    "returnUrl": "https://success.callback.paynet.md",
    "paymentToken": {
        "signature": "MEUCIAxBoMQ6zFDB8xMXge3fAR/LxkWkbiRspMaReLXFvVMaAiEA9iGejfJaQeryQAxJWwhBWjMBHxdZh/a+UAAOOpZzlrc=",
        "intermediateSigningKey": {
            "signedKey": "{\"keyValue\":\"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8avPDkzZgeA+UYEZbqfC8TkBWLU8N9yIWomdWB+eQ59I637S+0EsTnXLcQEvQ9B7MwEh7C9v9fsMSTNdwTIL5g\\u003d\\u003d\",\"keyExpiration\":\"1699698690174\"}",
            "signatures": [
                "MEUCIQD/Ryy5gN+D+d+VYPQSKfb2GD+GM5FXAcN7Q73L/jf06AIgeag2Jk919/eaPillrs0z/r/W2QsTIGi8x+KWtS7oNvw="
            ]
        },
        "protocolVersion": "ECv2",
        "signedMessage": "{\"encryptedMessage\":\"ezyCQPxVm3JGfw5dm5rKLwpeS9Sf2fV6GS2WRMBE3kEOQR8mui2zlNPQgGn1U22qSuh8OW+HmdD8xxjQ9TX2AfpME6aqUDolb/7veAiaCrjg6iET8hLq3GL75ehEFgFrYIfv3F6g3RTnJ74T7SpHKoRsWLeo9AcY55p5nIR2HZnEuVJcJ2UB/RA347BGzFhQZyiFhEmE2EpqMZACYAH6iz5ob9bvugkGgewG8LvyDjXjqhiKfcAeOrBDGpNQLwM/UvUDm6aBkWbQdnjBwlZmMAwQKwUPtpr9L0hvgs2wWGa4S3YfdqzKJGZ2ka3khNDRNDs6rcPqfyC/1UxLxUJN5AvwfNLwUVEp62eBA5euz2zJrma1KwbyU7ZYtaRVOWxMt/d5Yk2nSeWPeliMAKqTvDKEe4yBdbdVDDg7ZXPJafb5hMeApY8baXCheq5Sd8pJKz3e07i8ucv0ByFOWpN9mngLZqJ1eBZjlQ6oMbM\\u003d\",\"ephemeralPublicKey\":\"BH7SBc3h3OJvYYrv79SzBF0JCTardLwcX8vrkTxwT2K7J6/LPh363m+dz570qwQt9WIXJiTUVBoRyo7kKojcScU\\u003d\",\"tag\":\"6szG7KKgQMv6Zxmq1PF7RnkjtflYm/xMVY/PVzdYdzY\\u003d\"}"
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "redirect": "https://mpit2.ukrcard.com.ua/payment/merchants/ukrposhta-pilot2/finish.html?orderId=dbbdd1b1-3f2f-4353-9421-071508f2821a",
    "info": "Ваш платёж обработан, происходит переадресация...",
    "errorCode": 0,
    "startThreeDS2": false,
    "orderStatus": {
        "errorCode": "0",
        "errorMessage": "Успешно",
        "orderNumber": "20230321000011",
        "orderStatus": 2,
        "actionCode": 0,
        "actionCodeDescription": "Запрос успешно обработан",
        "amount": 6050,
        "currency": "980",
        "date": 1679393949945,
        "attributes": [
            {
                "name": "mdOrder",
                "value": "dbbdd1b1-3f2f-4353-9421-071508f2821a"
            }
        ],
        "cardAuthInfo": {
            "expiration": "202812",
            "authorizationResponseId": "495762",
            "pan": "520424**7840"
        },
        "authDateTime": 1679393950528,
        "terminalId": "UPE00005",
        "authRefNum": "000045937309",
        "paymentAmountInfo": {
            "paymentState": "DEPOSITED",
            "approvedAmount": 6050,
            "depositedAmount": 6050,
            "refundedAmount": 0
        },
        "bankInfo": {
            "bankCountryName": "<Неизвестно>"
        },
        "fraudLevel": 0
    },
    "success": true,
    "data": {
        "orderId": "dbbdd1b1-3f2f-4353-9421-071508f2821a"
    }
}
Modified at 2025-06-26 12:46:44
Previous
/PaymentGoogleD
Built with