mutation

checkAndUpdatePaymentStatus

Polling process to confirm the payment status. It periodically checks and updates the current status of a payment, ensuring timely and accurate confirmation of payment transactions.
Arguments
paymentStatusUpdateRequestInput
PaymentStatusUpdateRequestInput
Payment Status Update Request.
Response
aggregator_name
String!
Required
Payment gateway name.
redirect_url
String
Redirect url.
Required
Response is successful or not.
status
String!
Required
Payment status.
success
Boolean
Response is successful or not.
Mutation
1mutation checkAndUpdatePaymentStatus(
2 $paymentStatusUpdateRequestInput: PaymentStatusUpdateRequestInput
3) {
4 checkAndUpdatePaymentStatus(
5 paymentStatusUpdateRequestInput: $paymentStatusUpdateRequestInput
6 ) {
7 aggregator_name
8 redirect_url
9 retry
10 status
11 success
12 }
13}
Try it
Input Variables
1{
2 "paymentStatusUpdateRequestInput": {
3 "aggregator": "aggregator",
4 "amount": 42,
5 "contact": "contact",
6 "currency": "currency",
7 "customer_id": "customer_id",
8 "device_id": "device_id",
9 "email": "[email protected]",
10 "merchant_order_id": "merchant_order_id",
11 "merchant_transaction_id": "merchant_transaction_id",
12 "method": "method",
13 "order_id": "order_id",
14 "status": "status",
15 "vpa": "vpa"
16 }
17}
Response
1{
2 "checkAndUpdatePaymentStatus": {
3 "aggregator_name": "aggregator_name",
4 "redirect_url": "redirect_url",
5 "retry": true,
6 "status": "status",
7 "success": true
8 }
9}