Google Pay Payment
POST/api/v1_0/cards/payment/:transaction_id/pay/google-pay
Authorize a payment using a Google Pay token.
Integration Flow
- Register a payment (Register Payment endpoint)
- Build Google Pay button with dpay credentials
- Submit the token received from Google Pay
Google Pay Button Configuration
{
"apiVersion": 2,
"apiVersionMinor": 0,
"allowedPaymentMethods": [{
"type": "CARD",
"parameters": {
"allowedAuthMethods": ["PAN_ONLY", "CRYPTOGRAM_3DS"],
"allowedCardNetworks": ["VISA", "MASTERCARD"]
},
"tokenizationSpecification": {
"type": "PAYMENT_GATEWAY",
"parameters": {
"gateway": "aciworldwide",
"gatewayMerchantId": "Assigned by dpay"
}
}
}]
}
Request
Responses
- 200
Payment result