@@ -5,7 +5,7 @@ import { Tab, Tabs } from 'nextra-theme-docs'
55
66### Get pre-calculation
77Provides preliminary calculation and availability of cashout for conditions and outcomes
8- Use the [ Azuro Cashout API] ( https://--- /api/v1/public/cashout/get-multipliers ) to get pre-calculation.
8+ Use the [ Azuro Cashout API] ( https://api.azuro.org /api/v1/public/cashout/get-multipliers ) to get pre-calculation.
99
1010``` ts copy
1111
@@ -22,7 +22,7 @@ type MultipliersResponse = {
2222}
2323
2424const cashoutGetMultipliersFetcher = async (conditionIds : string []): Promise <MultipliersResponse > => {
25- const response = await axios .post <MultipliersResponse >(' https://--- /api/v1/public/cashout/get-multipliers' , {
25+ const response = await axios .post <MultipliersResponse >(' https://api.azuro.org /api/v1/public/cashout/get-multipliers' , {
2626 conditionIds , // Condition ids
2727 },
2828 })
@@ -35,7 +35,7 @@ To pre-calculate any cashout from bet, multiply the multiplier by the user's exi
3535
3636### Get calculation
3737Calculates the exact cashout amount based on the bet in the contract
38- Use the [ Azuro Cashout API] ( https://--- /api/v1/public/cashout/get-calculation ) to get calculation.
38+ Use the [ Azuro Cashout API] ( https://api.azuro.org /api/v1/public/cashout/get-calculation ) to get calculation.
3939
4040``` ts copy
4141
@@ -59,7 +59,7 @@ type CalculationResponse = {
5959}
6060
6161const cashoutGetСalculationFetcher = async (data : CalculationRequest ): Promise <CalculationResponse > => {
62- const response = await axios .post <MultipliersResponse >(' https://--- /api/v1/public/cashout/get-calculation' , {
62+ const response = await axios .post <MultipliersResponse >(' https://api.azuro.org /api/v1/public/cashout/get-calculation' , {
6363 ... data
6464 })
6565
@@ -69,7 +69,7 @@ const cashoutGetСalculationFetcher = async (data: CalculationRequest): Promise<
6969
7070### Create cashout
7171Creates a cashout based on the calculation
72- Use the [ Azuro Cashout API] ( https://--- /api/v1/public/cashout/create ) to create cashout.
72+ Use the [ Azuro Cashout API] ( https://api.azuro.org /api/v1/public/cashout/create ) to create cashout.
7373
7474``` ts copy
7575
@@ -90,7 +90,7 @@ type CreateResponse = {
9090}
9191
9292const cashoutСreateCashoutFetcher = async (data : CreateRequest ): Promise <CreateResponse > => {
93- const response = await axios .post <MultipliersResponse >(' https://--- /api/v1/public/cashout/create' , {
93+ const response = await axios .post <MultipliersResponse >(' https://api.azuro.org /api/v1/public/cashout/create' , {
9494 ... data
9595 })
9696
@@ -154,7 +154,7 @@ export const CashoutExceptionResponses = {
154154
155155### Get cashout order
156156Gives cashout to the horde by ID
157- Use the [ Azuro Cashout API] ( https://--- /api/v1/public/cashout/{id} ) to get cashout order.
157+ Use the [ Azuro Cashout API] ( https://api.azuro.org /api/v1/public/cashout/{id} ) to get cashout order.
158158
159159``` ts copy
160160
@@ -167,7 +167,7 @@ type OrderResponse = {
167167}
168168
169169const cashoutGetOrderFetcher = async (cashoutId : string ): Promise <OrderResponse > => {
170- const response = await axios .get <OrderResponse >(' https://--- /api/v1/public/cashout/{id}' )
170+ const response = await axios .get <OrderResponse >(' https://api.azuro.org /api/v1/public/cashout/{id}' )
171171
172172 return response .data || []
173173}
@@ -187,4 +187,4 @@ Error codes:
187187 InvalidOdds = ' InvalidOdds' ,
188188 InvalidOddsCount = ' InvalidOddsCount' ,
189189 NothingChanged = ' NothingChanged' ,
190- ```
190+ ```
0 commit comments