Initiate Session Request
To enhance the integration with the CCG widget, it's crucial to have comprehensive details regarding session-based request and response interactions.
Sample Request
Mode: Pay with wallet
Session request - PAY with Wallet
{
"customer": {
"name": "customer_name",
"email": "emailUsername@<validDomain>.com",
"ssnLastFour": "9214",
"dateOfBirth": "2000-09-21",
"hsid": "{{hsid}}",
"enterpriseId": null,
"zip5": null,
"phoneNumber": {
"number": "8998090898",
"countryCode": "91"
},
"metadata": null
},
"payment": {
"merchantTransactionId": "{{merchantTransactionId}}",
"amount": 20099,
"authorizeCard": true,
"statementDescriptorSuffix": "A.-090 A",
"metadata": {}
},
"appearance": null,
"consent": {
"merchantConsentText": "qq"
},
"cashier": "s438",
"config": {
"modes": [
"PAYMENT_WITH_WALLET"
],
"paymentMethodChannel": {
"card": ["WEBFORM"]
},
"options":{
"preferredLanguage":"es"
}
}
}