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
PaymentStatusUpdateRequestInputPayment Status Update Request.
Mutation
1mutation checkAndUpdatePaymentStatus(2 $paymentStatusUpdateRequestInput: PaymentStatusUpdateRequestInput3) {4 checkAndUpdatePaymentStatus(5 paymentStatusUpdateRequestInput: $paymentStatusUpdateRequestInput6 ) {7 aggregator_name8 redirect_url9 retry10 status11 success12 }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": "test-email@yourcompany.com",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": true8 }9}
Was this section helpful?