File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -470,6 +470,8 @@ export interface SellProviderInfo {
470470 flow ?: SellFiatFlowType | undefined ;
471471 isRefundAddressRequired ?: boolean | undefined ;
472472 pendingTimeout ?: number | undefined ; // Time until a SUBMITTED transaction automatically changes to PENDING. Null means it does not change.
473+ /** Should be used when it's necessary to have the exact amount match between the trade and the transaction */
474+ lockSendAmount ?: boolean ;
473475}
474476
475477export interface SellListResponse {
Original file line number Diff line number Diff line change 66 ExchangeTrade ,
77 InfoResponse ,
88 SellFiatTrade ,
9+ SellProviderInfo ,
910 WatchSellTradeResponse ,
1011} from "invity-api" ;
1112
@@ -92,3 +93,19 @@ const exchangeProviderInfo: ExchangeProviderInfo = {
9293 kycPolicyType : "KYC-norefund" ,
9394 isRefundRequired : false ,
9495} ;
96+
97+ const sellProviderInfo : SellProviderInfo = {
98+ name : "example" ,
99+ companyName : "Example" ,
100+ logo : "example-icon.jpg" ,
101+ type : "Fiat" ,
102+ isActive : true ,
103+ tradedCoins : [ "bitcoin" , "ethereum" ] as CryptoId [ ] ,
104+ tradedFiatCurrencies : [ "USD" ] ,
105+ supportedCountries : [ "US" ] ,
106+ statusUrl : "https://example.com/txs/{{orderId}}" ,
107+ supportUrl : " https://support.example.com" ,
108+ flow : "PAYMENT_GATE" ,
109+ isRefundAddressRequired : false ,
110+ lockSendAmount : false ,
111+ } ;
You can’t perform that action at this time.
0 commit comments