---
page_title: FAQs and Use-cases
product: Payment Method Integrations
platform: HyperCheckout
page_source: https://juspay.io/in/docs/payment-method-integrations/hypercheckout/split-settlment/faqs-and-usecases
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/payment-method-integrations/llms.txt
---


## **FAQs** 



## FAQs:

### Is it possible to settle an amount between two different payment gateway accounts?

No, it is not possible to settle an amount between two different gateway accounts since the transaction can only be routed through one of the gateway accounts.

**Example**  : 

If merchants want to split the transaction amount between two different Razorpay accounts ( Rzp1 & Rzp2).

**Possible Solutions :** 

* Merchants would need to configure a new common Razorpay account and add both of the existing Razorpay accounts( Rzp1 & Rzp2 ) as sub-vendor accounts at Razorpay end and pass the split settlement details in the create order/payload.
* Razorpay gateway(Rzp1) will act as a Parent account and the other Razorpay gateway(Rzp2) account will be added as a sub-vendor for Razorpay gateway(Rzp1) at Razorpay end.

### Is the split settlement process the same across different payment gateways, and can the same payload be used for different gateways?

Yes, the split settlement process is same across gateways and the same payload can be used for all supported gateways.

### How do refunds work if the split settlement  to one vendor is successful and the other vendor fails ?

Split settlement cannot partially succeed; it will either succeed or fail. Therefore, if you wish to initiate a refund for a successful split settlement transaction, you must ensure that the refund amount is equal to or less than the amount settled in the corresponding sub-account ID.

### What happens if the Transaction / Refund amount is greater than the sum of all split amounts ?

The transaction / refund request would fail at Juspay end itself.

### What happens if the split settlement block is sent in the wrong format ?

The transaction will be initiated to the gateway, and the amount will be settled to the merchant’s default account.

### What happens if the wrong details are sent in the split settlement block ? 

The **/txns**  call would fail with error_message **”Can't find a suitable gateway to process the transaction"** and the transaction would be stuck in **STARTED**  state itself.

### What exactly should be passed in the sub_mid field of the split_settlement_details block of the create order / payload ?

**Vendor name** (any string value) can be configured in the **juspaySubAccountId**  field on the Juspay dashboard and the same value should be passed in the **sub_mid**  field of the **split_settlement_details**  block of the create order / payload.

### What exactly should be configured in the gatewaySubAccountId field on the Juspay dashboard  ?

Merchants have to create the Sub/vendor accounts at gateway end and the same account id should be configured in the **gatewaySubAccountId**  field on the Juspay dashboard.

### Which is the correct content type (application/json format / application/x-www-form-urlencoded) for creating  refunds for the split settlement payments ?

Refunds for split settlement payments can be initiated in both **application/x-www-form-urlencoded**  and application/json formats (for session API) . However, the split settlement block should be sent according to the content-type format. Please refer to the sample split settlement blocks below for each case.**Type 1:**  application/x-www-form-urlencoded


#### Shell Code Snippet:

```shell
'metadata.split_settlement_details=
{"marketplace": {"refund_amount": 0}, 
"vendor": 
{"split": 
[{"sub_mid": "Vendor2", 
"refund_amount": 1}]}
}'


```


**Type 2:** application/json


#### Shell Code Snippet:

```shell
"metadata.split_settlement_details" : 
"{\"marketplace\":
{\"refund_amount\":0},
\"vendor\":
{\"split\":
[{\"sub_mid\":\"Vendor2\", \"refund_amount\":0}]
}
}"

```





## **Use Case for Split Settlement:** 



In the context of split settlement, where the total amount is 100 rupees, and there are two sub-vendors, the merchant's objective is to receive a 10 rupee commission from each sub-vendor.


### **Use Case 1** 



* Vendor 1's account contains 50 rupees.
* Vendor 2's account contains 30 rupees.
* The merchant's commission amounts is 20 rupees.

**Sample Payload:** 


#### Shell Code Snippet:

```shell
'metadata.split_settlement_details=
{'metadata.split_settlement_details=
{"marketplace":
{"amount":0},
"mdr_borne_by":"ALL",
"vendor":
{"split":
[{"amount":50,
 "merchant_commission":10,
 "sub_mid":"Vendor1"},
{"amount":30,
 "merchant_commission":10
 "sub_mid":"Vendor2"}]
}
}' 

```



### **Use Case 2** 



* Vendor 1's account balance is 40 rupees.
* Vendor 2's account balance is 30 rupees.
* The merchant's commission is 20 rupees.
* The merchant's account has 10 rupees.

**Sample Payload:** 


#### Shell Code Snippet:

```shell
'metadata.split_settlement_details={'metadata.split_settlement_details=
{"marketplace":
{"amount":10},
"mdr_borne_by":"ALL",
"vendor":
{"split":
[{"amount":40,
"merchant_commission":10,
"sub_mid":"Vendor1"},
{"amount":30,
"merchant_commission":10
"sub_mid":"Vendor2"}]
}
}'

```




---

## See Also

- [Webhooks](https://juspay.io/in/docs/payment-method-integrations/hypercheckout/split-settlment/webhooks)
- [Qwikcilver Gift Cards](https://juspay.io/in/docs/payment-method-integrations/hypercheckout/gift-card-integration/qwikcilver-gift-cards)
