Models are crucial when it comes to creating new smart contracts. It determines who collects payments. In this article, we will cover these 2 aspects of models:
Creating new models
URL: https://dashboard.paydocker.com/models
1. Access this page by clicking Settings (1), then Models (2) in the left panel.
2. On the Models page, Click + Add Model.
3. In the popup, enter the preferred name (1) and select the Payment Model Details (2) from the drop-downs. Click Add (3) once done.
Here is an explanation of the drop-down menu.
Heading | Options | Explanation |
Category |
Hotel Collect | Hotel collects payments from guest first and pays demand after. |
Agency Collect | Demand collects payments from guest first and pays hotels after. | |
Delivery Split | Payment will be split into commission & payable amount, sent to different parties. | |
Delivery Full | No deduction of commission amount | |
Wholesaler | Payment is for a wholesaler. | |
Service | Payment is for a service. | |
Earning |
Commission | Transaction amount includes commission. |
Fees | Transaction amount includes fees. | |
Net | Transaction amount is net. | |
Applicable |
Per Booking | Commission / Fees are applicable on per booking. |
First Night | Commission / Fees are applicable on first night of stay. | |
Type |
Percentage | The commission/fees are calculated as a percentage. |
Dynamic | The commission/fees have a dynamic calculation. |
Some examples of how to configure your models, based on what you need:
The hotel pays a percentage of the booking value as a commission to the travel agency after the stay is completed.
Category | Earning | Applicable | Type |
Hotel Collect | Commission | Per booking | Percentage |
The agency pays the hotel upfront for a bulk block of rooms (at a discount) and sells them to customers individually.
Category | Earning | Applicable | Type |
Wholesaler | Net | - | - |
The travel agency collects payments from customers and distributes shares to the hotel and service provider.
Category | Earning | Applicable | Type |
Delivery Split | Fee | Per booking | Percentage / Dynamic |
Managing Models
Here are some ways that you can manage existing Models.
Edit Models
Once a model is added, it cannot be edited. If any changes are necessary, kindly create a new model.
Disable Models
If there is a model that you wish to retain but is currently inactive, you have the option to disable it.
1. Click on the model on the Models Page.
2. On the Model Details page, click the Toggle under the Status section to disable the model.
Deleting Models
To delete a model completely,
1. Click on the model on the Terms Setup Page.
2. On the Model Details page, select Delete to delete the model.
💡 Do note that models with existing connections cannot be deleted.
Related articles: