can any one help me out for UPI payment using google pay in flutter language. i have created google pay merchan ID but i'm not able to get that where i have to add merchantID and is it posible, insted of allowedPaymentMethods:"type":"card" how i can use UPI for payment.and what i have to add merchantInfo for this. and one more that is where to change test mode to live mode. but i don't have to add any payment getway for this integration. so is it posible...?
{
"apiVersion": 2,
"apiVersionMinor": 0,
"merchantInfo": {
"merchantName": "Example Merchant"
},
"allowedPaymentMethods": [
{
"type": "CARD",
"parameters": {
"allowedAuthMethods": ["PAN_ONLY", "CRYPTOGRAM_3DS"],
"allowedCardNetworks": ["AMEX", "DISCOVER", "INTERAC", "JCB", "MASTERCARD", "MIR", "VISA"]
},
"tokenizationSpecification": {
"type": "PAYMENT_GATEWAY",
"parameters": {
"gateway": "example",
"gatewayMerchantId": "exampleGatewayMerchantId"
}
}
}
],
"transactionInfo": {
"totalPriceStatus": "FINAL",
"totalPrice": "12.34",
"currencyCode": "USD"
}
}
Thank you.