mutation

verifyCustomerForPayment

Verify if the user is eligible for pay-later payment from the payment aggregator side using the customer's phone number.
Arguments
validateCustomerRequestInput
ValidateCustomerRequestInput
Validate customer by request.
Response
data
JSON
Payment gateway response data.
message
String
Error or success message.
success
Boolean!
Required
Response is successful or not.
Mutation
1mutation verifyCustomerForPayment(
2 $validateCustomerRequestInput: ValidateCustomerRequestInput
3) {
4 verifyCustomerForPayment(
5 validateCustomerRequestInput: $validateCustomerRequestInput
6 ) {
7 data
8 message
9 success
10 }
11}
Try it
Input Variables
1{
2 "validateCustomerRequestInput": {
3 "aggregator": "aggregator",
4 "billing_address": {},
5 "delivery_address": {},
6 "merchant_params": {},
7 "order_items": [
8 {}
9 ],
10 "payload": "payload",
11 "phone_number": "phone_number",
12 "transaction_amount_in_paise": 42
13 }
14}
Response
1{
2 "verifyCustomerForPayment": {
3 "data": {},
4 "message": "message",
5 "success": true
6 }
7}