Arguments
paymentOrderInput
PaymentOrderInputPayment Order Request Schema.
Mutation
1mutation createPaymentOrder($paymentOrderInput: PaymentOrderInput) {2 createPaymentOrder(paymentOrderInput: $paymentOrderInput) {3 callback_url4 data {5 aggregator6 amount7 callback_url8 contact9 currency10 customer_id11 email12 merchant_order_id13 method14 order_id15 }16 message17 order_id18 payment_confirm_url19 status_code20 success21 }22}
Try it
Input Variables
1{2 "paymentOrderInput": {3 "order_id": "order_id",4 "payment_methods": [5 {6 "amount": 30.7,7 "meta": {8 "merchant_code": "merchant_code",9 "payment_gateway": "payment_gateway",10 "payment_identifier": "payment_identifier"11 },12 "mode": "mode",13 "name": "A name",14 "payment": "payment"15 }16 ],17 "shipment_id": "shipment_id"18 }19}
Response
1{2 "createPaymentOrder": {3 "callback_url": "callback_url",4 "data": {5 "aggregator": "aggregator",6 "amount": 30.7,7 "callback_url": "callback_url",8 "contact": "contact",9 "currency": "currency",10 "customer_id": "customer_id",11 "email": "test-email@yourcompany.com",12 "merchant_order_id": "merchant_order_id",13 "method": "method",14 "order_id": "order_id"15 },16 "message": "message",17 "order_id": "order_id",18 "payment_confirm_url": "payment_confirm_url",19 "status_code": 42,20 "success": true21 }22}
Was this section helpful?