GooglePayProcess
Use IPCGooglePayProcess to submit a Google Pay payment for processing.
Required for all Checkout API methods
| Property | Typical value | Type | Required | Description |
|---|---|---|---|---|
| IPCmethod | IPCGooglePayProcess | String | YES | Method name used in the API request. |
| IPCVersion | 1.4 | float | YES | Version of the Checkout API. |
| Language | en | String | YES | Language used in the API request. |
Method Properties
| Property | Typical value | Type | Required | Description |
|---|---|---|---|---|
| SID | 000000000000010 | String | YES | Merchant Store ID in the myPOS system. |
| WalletNumber | 61938166610 | String | YES | Merchant myPOS wallet number. |
| KeyIndex | 1 | Int | YES | Index of the RSA key used for signing. |
| OrderID | 20120331999999 | String | YES | Unique order identifier from the merchant system. |
| Amount | 23.45 | Double | YES | Payment amount. |
| Currency | EUR | A(3) | YES | ISO 3-character currency code. |
| CartItems | 1 | Int | YES | Number of items included in the cart. |
| Article_1 | Premium plan | String | Conditional | Name of the cart item (repeat per item index). |
| Quantity_1 | 1 | Double | Conditional | Quantity for the cart item (repeat per item index). |
| Price_1 | 23.45 | Double | Conditional | Unit price of the cart item (repeat per item index). |
| Currency_1 | EUR | A(3) | Conditional | Currency of the cart item (repeat per item index). |
| Amount_1 | 23.45 | Double | Conditional | Total amount for the cart item (repeat per item index). |
| GooglePayToken | PaymentData JSON | JSON | YES | Wallet token generated by the user device (PaymentData JSON). |
| Note | Order #12345 | String | NO | Optional note attached to the transaction. |
| AccountSettlement | 0000000000 | String | NO | Settlement to a specific merchant account. |
| Developer key | partner_key | String | NO | Used for Partners Program integrations. |
| Output | json | String | NO | Response format. Supported values: xml or json. |
Example successful response
Code Example
JSON
{
"IPCmethod": "IPCGooglePayProcess",
"IPC_Trnref": 39334220,
"PaymentReference": "MTCOR5626431HE39",
"Amount": "21.66",
"Currency": "EUR",
"Status": 0,
"StatusMsg": "Success"
}