Initiate the creation of an order handler for processing payments through a link.
Arguments
createOrderUserRequestInput
CreateOrderUserRequestInputCreate order user request schema.
Mutation
1mutation createOrderHandlerPaymentLink(2 $createOrderUserRequestInput: CreateOrderUserRequestInput3) {4 createOrderHandlerPaymentLink(5 createOrderUserRequestInput: $createOrderUserRequestInput6 ) {7 callback_url8 data {9 aggregator10 amount11 callback_url12 contact13 currency14 customer_id15 email16 merchant_order_id17 method18 order_id19 }20 message21 order_id22 payment_confirm_url23 status_code24 success25 }26}
Try it
Input Variables
1{2 "createOrderUserRequestInput": {3 "currency": "currency",4 "failure_callback_url": "failure_callback_url",5 "meta": {},6 "payment_link_id": "payment_link_id",7 "payment_methods": {8 "meta": {9 "merchant_code": "merchant_code",10 "payment_gateway": "payment_gateway",11 "payment_identifier": "payment_identifier"12 },13 "mode": "mode",14 "name": "A name"15 },16 "success_callback_url": "success_callback_url"17 }18}
Response
1{2 "createOrderHandlerPaymentLink": {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?