query

refund

Get Refund details.
Response
active_refund_transfer_modes
ActiveRefundTransferModes
Lists available refund modes, such as UPI, providing details like display name, logo, and ID for each mode.
user_beneficiaries_detail
OrderBeneficiaryDetail
Get beneficiaries associated with the user for processing refunds, based on the provided order ID.
order_beneficiaries_detail
OrderBeneficiaryDetail
Get beneficiary details like bank name, ifsc code, branch name associated with a specific order for refund processing.
Query
1query refund($orderId: String!, $orderId2: String!) {
2 refund {
3 user_beneficiaries_detail(orderId: $orderId) {
4 show_beneficiary_details
5 }
6 order_beneficiaries_detail(orderId: $orderId2) {
7 show_beneficiary_details
8 }
9 }
10}
Try it
Input Variables
1{
2 "orderId": "orderId",
3 "orderId2": "orderId"
4}
Response
1{
2 "refund": {
3 "user_beneficiaries_detail": {
4 "show_beneficiary_details": true
5 },
6 "order_beneficiaries_detail": {
7 "show_beneficiary_details": true
8 }
9 }
10}