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

/PaymentGoogleD

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

Request

Body Params application/json

Example
{
    "description": "POST PaymentGooglD MC",
    "additionalParameters": {
        "merchantIdType": "IDTP01",
        "merchantIdNumber": "ABCDXYZ124"
    },
    "language": "uk",
    "preAuth": true,
    "returnUrl": "https://secure.secure3d.net/m3ua/action/b1133ecc-a66b-434f-8e46-62f1a3fc0e0f/complete_3ds",
    "failUrl": "https://secure.secure3d.net/m3ua/action/b1133ecc-a66b-434f-8e46-62f1a3fc0e0f/complete_3ds",
    "amount": 98963,
    "currencyCode": 980,
    "paymentData": {
        "paymentMethod": "CARD",
        "paymentMethodDetails": {
            "authMethod": "CRYPTOGRAM_3DS",
            "pan": "4123######1110",
            "expirationMonth": 12,
            "expirationYear": 2023,
            "cryptogram": "AQAAAAAAAY+p/s0fJN67QJgAAAA=",
            "eciIndicator": "07"
        }
    }
}

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/PaymentGoogleD' \
--header 'Content-Type: application/json' \
--data-raw '{
    "description": "POST PaymentGooglD MC",
    "additionalParameters": {
        "merchantIdType": "IDTP01",
        "merchantIdNumber": "ABCDXYZ124"
    },
    "language": "uk",
    "preAuth": true,
    "returnUrl": "https://secure.secure3d.net/m3ua/action/b1133ecc-a66b-434f-8e46-62f1a3fc0e0f/complete_3ds",
    "failUrl": "https://secure.secure3d.net/m3ua/action/b1133ecc-a66b-434f-8e46-62f1a3fc0e0f/complete_3ds",
    "amount": 98963,
    "currencyCode": 980,
    "paymentData": {
        "paymentMethod": "CARD",
        "paymentMethodDetails": {
            "authMethod": "CRYPTOGRAM_3DS",
            "pan": "4123######1110",
            "expirationMonth": 12,
            "expirationYear": 2023,
            "cryptogram": "AQAAAAAAAY+p/s0fJN67QJgAAAA=",
            "eciIndicator": "07"
        }
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "redirect": "https://msk-aix-wbl01svng.bt.bpc.in/?orderId=d7d3d572-9f17-4c50-a07c-f53bb07e43f3",
    "info": "Ваш платёж обработан, происходит переадресация...",
    "lookup": false,
    "orderStatus": {
        "errorCode": "0",
        "errorMessage": "Успешно",
        "orderNumber": "4505",
        "orderStatus": 2,
        "actionCode": "0",
        "actionCodeDescription": "Без ошибок",
        "amount": 1000,
        "currency": 980,
        "date": "1621438342828",
        "merchantOrderParams": null,
        "attributes": [
            {
                "name": "mdOrder",
                "value": "d7d3d572-9f17-4c50-a07c-f53bb07e43f3"
            }
        ],
        "cardAuthInfo": {
            "pan": "516854**0704",
            "expiration": 202212,
            "cardholderName": null,
            "authorizationResponseId": "005595",
            "secureAuthInfo": {
                "eci": 0,
                "cavv": null,
                "xid": null,
                "threeDSInfo": null
            }
        }
    },
    "preAuth": false,
    "success": true,
    "data": {
        "orderId": "d7d3d572-9f17-4c50-a07c-f53bb07e43f3"
    },
    "errorCode": "0"
}
Modified at 2025-06-26 12:45:40
Previous
/PaymentAppleE
Next
/PaymentGoogleE
Built with