Verify the payment status and charge from the customer's BNPL (Buy Now, Pay Later) account after order confirmation.
Arguments
chargeCustomerRequestInput
ChargeCustomerRequestInputCharge Customer Request.
Response
aggregator
String!Required
Payment gateway name i.e Simpl, Mswipe.
cart_id
StringCart id of customer.
delivery_address_id
StringDelivery address id of customer.
message
String!Required
Human readable message.
order_id
String!Required
Unique order id.
status
String!Required
Status of charged payment.
success
Boolean!Required
Response is successful or not.
Mutation
1mutation verifyAndChargePayment(2 $chargeCustomerRequestInput: ChargeCustomerRequestInput3) {4 verifyAndChargePayment(5 chargeCustomerRequestInput: $chargeCustomerRequestInput6 ) {7 aggregator8 cart_id9 delivery_address_id10 message11 order_id12 status13 success14 }15}
Try it
Input Variables
1{2 "chargeCustomerRequestInput": {3 "aggregator": "aggregator",4 "amount": 42,5 "order_id": "order_id",6 "transaction_token": "transaction_token",7 "verified": true8 }9}
Response
1{2 "verifyAndChargePayment": {3 "aggregator": "aggregator",4 "cart_id": "cart_id",5 "delivery_address_id": "delivery_address_id",6 "message": "message",7 "order_id": "order_id",8 "status": "status",9 "success": true10 }11}
Was this section helpful?