Field Description amount
number
The payment amount, in the minor currency unit .
Minimum: 1
Required
currency
string
Three-letter ISO 4217 currency code .
Required
processing_channel_id
string
The processing channel's unique identifier.
Pattern: ^(pc)_(\w{26})$
Required
settings.failure_url
string
The URL to redirect the customer after a failed authorization.
Format: uri
Required
settings.success_url
string
The URL to redirect the customer after a successful authorization.
Format: uri
Required
payment_methods.googlepay.token
object
The Checkout.com Google Pay token.
Required
payment_methods.googlepay.token.id
string
The token identifier, prefixed by tok_.
Pattern: ^(tok)_(\w{26})$
Required
payment_methods.googlepay.token.expires_on
string
The date and time at which the token expires.
Format: date-time
payment_methods.googlepay.account_holder
object
The Google Pay account holder details.
payment_methods.googlepay.account_holder.first_name
string
The account holder's first name.
payment_methods.googlepay.account_holder.last_name
string
The account holder's last name.
payment_methods.googlepay.account_holder.middle_name
string
The account holder's middle name.
payment_methods.googlepay.account_holder.type
string
Supported values:
individual
corporate
government
payment_methods.googlepay.account_holder.account_name_inquiry
boolean
Indicates whether to perform an account name inquiry.
payment_methods.googlepay.phone
object
The customer's phone number details.
payment_methods.googlepay.phone.country_code
string
The international dialing code for the customer's phone number.
payment_methods.googlepay.phone.number
string
The customer's phone number.
payment_methods.googlepay.store_for_future_use
boolean
Indicates whether to store the payment details for future use.
Request example
2
"processing_channel_id" : "pc_wzjki6hw5puepb5fnvqlizj2e4" , 5
"reference" : "ORDER_01234" , 6
"description" : "Google Pay payment" , 7
"payment_type" : "Regular" , 9
"success_url" : "https://example.com/payments/success" , 10
"failure_url" : "https://example.com/payments/failure" 15
"id" : "tok_hilxnnylkxtutoswkxx2425lzi" , 16
"expires_on" : "2026-09-15T16:12:05Z" Response example
2
"id" : "set_rcmepwrchqab2wsergcafvijfy" , 3
"processing_channel_id" : "pc_wzjki6hw5puepb5fnvqlizj2e4" , 6
"payment_type" : "Regular" , 7
"reference" : "ORDER_01234" , 8
"description" : "Google Pay payment" , 13
"id" : "tok_hilxnnylkxtutoswkxx2425lzi" , 14
"expires_on" : "2026-09-15T16:12:05Z" 18
"available_payment_methods" : [ 22
"success_url" : "https://example.com/payments/success" , 23
"failure_url" : "https://example.com/payments/failure" The response returns a ready status when the token has been successfully validated. The payment is ready to confirm.
Field Description amount
number
The payment amount, in the minor currency unit .
Minimum: 1
Required
currency
string
Three-letter ISO 4217 currency code .
Required
processing_channel_id
string
The processing channel's unique identifier.
Pattern: ^(pc)_(\w{26})$
Required
settings.failure_url
string
The URL to redirect the customer after a failed authorization.
Format: uri
Required
settings.success_url
string
The URL to redirect the customer after a successful authorization.
Format: uri
Required
payment_methods.googlepay.token_data
object
The Google Pay payment token data object, returned by the Google Pay API.
Required
payment_methods.googlepay.token_data.protocol_version
string
Identifies the encryption and signing scheme used to create the message.
Required
payment_methods.googlepay.token_data.signature
string
Verifies that the message came from Google. The signature is created using ECDSA.
Required
payment_methods.googlepay.token_data.signed_message
string
A serialized JSON string containing the encryptedMessage, ephemeralPublicKey, and tag.
Required
payment_methods.googlepay.token_data.tokenization_key
string
The public key provided to the Google API in the tokenizationSpecification.parameters.gatewayMerchantId field.
Required
payment_methods.googlepay.account_holder
object
The Google Pay account holder details.
payment_methods.googlepay.account_holder.first_name
string
The account holder's first name.
payment_methods.googlepay.account_holder.last_name
string
The account holder's last name.
payment_methods.googlepay.account_holder.middle_name
string
The account holder's middle name.
payment_methods.googlepay.account_holder.type
string
Supported values:
individual
corporate
government
payment_methods.googlepay.account_holder.account_name_inquiry
boolean
Indicates whether to perform an account name inquiry.
payment_methods.googlepay.phone
object
The customer's phone number details.
payment_methods.googlepay.phone.country_code
string
The international dialing code for the customer's phone number.
payment_methods.googlepay.phone.number
string
The customer's phone number.
payment_methods.googlepay.store_for_future_use
boolean
Indicates whether to store the payment details for future use.
Request example
2
"processing_channel_id" : "pc_wzjki6hw5puepb5fnvqlizj2e4" , 5
"reference" : "ORDER_01234" , 6
"description" : "Google Pay payment" , 7
"payment_type" : "Regular" , 9
"success_url" : "https://example.com/payments/success" , 10
"failure_url" : "https://example.com/payments/failure" 15
"protocol_version" : "ECv1" , 16
"signature" : "MEYCIQC9AHUSzVopjzKTrDpGdZyANA291Zn03gXhEnnNXZquxAIhAKh5zoY1oUiwdmtVkg1FN/ieA8/1QMsJgeiprsYrK1Jw" , 17
"signed_message" : "{\"encryptedMessage\":\"KBft9um...\",\"ephemeralPublicKey\":\"BJ/dNhZM...\",\"tag\":\"2FYxP20a...\"}" , 18
"tokenization_key" : "pk_vsef5t73xviedhriex4lrw3c3y" Response example
2
"id" : "set_rcmepwrchqab2wsergcafvijfy" , 3
"processing_channel_id" : "pc_wzjki6hw5puepb5fnvqlizj2e4" , 6
"payment_type" : "Regular" , 7
"reference" : "ORDER_01234" , 8
"description" : "Google Pay payment" , 13
"id" : "tok_hilxnnylkxtutoswkxx2425lzi" , 14
"expires_on" : "2026-09-15T16:12:05Z" 18
"available_payment_methods" : [ 22
"success_url" : "https://example.com/payments/success" , 23
"failure_url" : "https://example.com/payments/failure" The response returns a ready status when the token data is successfully validated and the payment is ready to confirm.
The API returns payment_methods.googlepay.status: unavailable for all non-validation technical failures occurring during the tokenization process.
Use this option if you decrypt the Google Pay payment token yourself, or through a third party, and have the underlying network token (DPAN).
To use a network token, set payment_methods.auto_confirm to googlepay. You cannot combine network_token with token or token_data.
Field Description amount
number
The payment amount, in the minor currency unit .
Minimum: 1
Required
currency
string
Three-letter ISO 4217 currency code .
Required
processing_channel_id
string
The processing channel's unique identifier.
Pattern: ^(pc)_(\w{26})$
Required
settings.failure_url
string
The URL to redirect the customer after a failed authorization.
Format: uri
Required
settings.success_url
string
The URL to redirect the customer after a successful authorization.
Format: uri
Required
payment_methods.auto_confirm
string
The payment method that automatically confirms the payment when it is ready.
Must be googlepay to use a network token.
Required
payment_methods.googlepay.network_token
object
The network token details.
Cannot be combined with token or token_data.
Required
payment_methods.googlepay.network_token.number
string
The card number obtained by decrypting the Google Pay payment token: a device primary account number (DPAN) for CRYPTOGRAM_3DS, or a funding primary account number (FPAN) for PAN_ONLY.
Required
payment_methods.googlepay.network_token.expiry_month
integer
The expiry month of the network token.
Minimum: 1
Maximum: 12
Required
payment_methods.googlepay.network_token.expiry_year
integer
The expiry year of the network token.
Minimum: 2000
Maximum: 9999
Required
payment_methods.googlepay.network_token.cryptogram
string
The Base64-encoded cryptographic identifier (TAVV) that card schemes use to validate the network token. Providing it improves approval rates.
Max length: 100
payment_methods.googlepay.network_token.eci
string
The Electronic Commerce Indicator (ECI) security level associated with the network token. Providing it improves approval rates.
Max length: 2
payment_methods.googlepay.account_holder
object
The Google Pay account holder details.
payment_methods.googlepay.account_holder.first_name
string
The account holder's first name.
payment_methods.googlepay.account_holder.last_name
string
The account holder's last name.
payment_methods.googlepay.account_holder.middle_name
string
The account holder's middle name.
payment_methods.googlepay.account_holder.type
string
Supported values:
individual
corporate
government
payment_methods.googlepay.account_holder.account_name_inquiry
boolean
Indicates whether to perform an account name inquiry.
payment_methods.googlepay.phone
object
The customer's phone number details.
payment_methods.googlepay.phone.country_code
string
The international dialing code for the customer's phone number.
payment_methods.googlepay.phone.number
string
The customer's phone number.
payment_methods.googlepay.store_for_future_use
boolean
Indicates whether to store the payment details for future use.
Request example
2
"processing_channel_id" : "pc_wzjki6hw5puepb5fnvqlizj2e4" , 5
"reference" : "ORDER_01234" , 6
"description" : "Google Pay payment" , 7
"payment_type" : "Regular" , 9
"success_url" : "https://example.com/payments/success" , 10
"failure_url" : "https://example.com/payments/failure" 13
"auto_confirm" : "googlepay" , 16
"number" : "4242424242424242" , 19
"cryptogram" : "hv8mUFzPzRZoCAAAAAEQBDMAAAA=" , Response example
2
"id" : "set_rcmepwrchqab2wsergcafvijfy" , 3
"processing_channel_id" : "pc_wzjki6hw5puepb5fnvqlizj2e4" , 6
"payment_type" : "Regular" , 7
"reference" : "ORDER_01234" , 8
"description" : "Google Pay payment" , 10
"auto_confirm" : "googlepay" , 16
"available_payment_methods" : [ 20
"id" : "pay_vmr2n4ybmceipeuu25k5qdxvoy" , 22
"status" : "Authorized" , 23
"response_summary" : "Approved" 26
"success_url" : "https://example.com/payments/success" , 27
"failure_url" : "https://example.com/payments/failure" Because auto_confirm is set, the payment is requested when the network token is successfully validated. The response returns a ready status, and the payment details are in the latest_payment object. You do not need to confirm the payment.
The network token details are used for the payment request only. They are not stored in the payment setup or returned in responses. Include the network token details in each new payment setup, with a fresh transaction cryptogram when available.
Network token flags
If the request contains missing or invalid network token information, the response returns one of the following values in the payment_methods.googlepay.flags array:
Flag Description googlepay_network_token_auto_confirm_required
network_token was provided, but payment_methods.auto_confirm is not set to googlepay.
network_token_cannot_be_combined_with_token_or_token_data
network_token was provided with token or token_data.
network_token_number_invalid
network_token.number is not a valid card number.
token_or_token_data_required
None of token, token_data, or network_token was provided. You must provide one of them.
payment_methods.googlepay.network_token.expiry_month.number_too_big
expiry_month is greater than 12.
payment_methods.googlepay.network_token.expiry_month.number_too_small
expiry_month is less than 1.
payment_methods.googlepay.network_token.expiry_year.number_too_big
expiry_year is greater than 9999.
payment_methods.googlepay.network_token.expiry_year.number_too_small
expiry_year is less than 2000.
payment_methods.googlepay.network_token.cryptogram.string_too_long
cryptogram is longer than 100 characters.
payment_methods.googlepay.network_token.eci.string_too_long
eci is longer than 2 characters.