Przejdź do głównej zawartości

Google Pay Payment

POST 

/api/v1_0/cards/payment/:transaction_id/pay/google-pay

Authorize a payment using a Google Pay token.

Integration Flow

  1. Register a payment (Register Payment endpoint)
  2. Build Google Pay button with dpay credentials
  3. 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

Payment result