\OnramperApi
All URIs are relative to https://beta.usemoon.ai
POST /onramper/fund/${accountName}
GET /onramper/quotes/buy
GET /onramper/quotes/sell
GET /onramper/assets
GET /onramper/currencies
GET /onramper/defaults
GET /onramper/onramps
GET /onramper/payment-types
GET /onramper/payment-types/fiat
on_ramper_checkout
serde_json::Value on_ramper_checkout(authorization, account_name, transaction_input)
Parameters
authorization
String
[required]
account_name
String
[required]
transaction_input
[required]
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
on_ramper_get_quotes_buy
Veccrate::models::Quote on_ramper_get_quotes_buy(authorization, fiat, crypto, amount, payment_method, uuid, client_name, country)
Parameters
authorization
String
[required]
fiat
String
[required]
crypto
String
[required]
amount
f64
[required]
payment_method
Option<String>
[default to creditcard]
uuid
Option<String>
[default to ]
client_name
Option<String>
[default to ]
country
Option<String>
[default to ]
Return type
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
on_ramper_get_quotes_sell
Veccrate::models::SellQuote on_ramper_get_quotes_sell(authorization, fiat, crypto, amount, payment_method, uuid, client_name, country)
Parameters
authorization
String
[required]
fiat
String
[required]
crypto
String
[required]
amount
f64
[required]
payment_method
Option<String>
[default to creditcard]
uuid
Option<String>
[default to ]
client_name
Option<String>
[default to ]
country
Option<String>
[default to ]
Return type
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
on_ramper_get_supported_assets
crate::models::SupportedAssetResponse on_ramper_get_supported_assets(authorization, source, country)
Parameters
authorization
String
[required]
source
String
[required]
country
String
[required]
Return type
crate::models::SupportedAssetResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
on_ramper_get_supported_currencies
crate::models::SupportedCurrenciesResponse on_ramper_get_supported_currencies(authorization, r#type)
Parameters
authorization
String
[required]
r#type
String
[required]
Return type
crate::models::SupportedCurrenciesResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
on_ramper_get_supported_defaults_all
crate::models::SupportedDefaultResponse on_ramper_get_supported_defaults_all(authorization, country, r#type)
Parameters
authorization
String
[required]
country
String
[required]
r#type
String
[required]
Return type
crate::models::SupportedDefaultResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
on_ramper_get_supported_on_ramps_all
crate::models::GetSupportedOnRampsResponse on_ramper_get_supported_on_ramps_all(authorization)
Parameters
authorization
String
[required]
Return type
crate::models::GetSupportedOnRampsResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
on_ramper_get_supported_payment_types
crate::models::SupportedPaymentTypesCurrencyResponse on_ramper_get_supported_payment_types(authorization, fiat, country, r#type)
Parameters
authorization
String
[required]
fiat
String
[required]
country
String
[required]
r#type
String
[required]
Return type
crate::models::SupportedPaymentTypesCurrencyResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
on_ramper_get_supported_payment_types_fiat
crate::models::SupportedPaymentTypesCurrencyResponse on_ramper_get_supported_payment_types_fiat(authorization, fiat, country)
Parameters
authorization
String
[required]
fiat
String
[required]
country
String
[required]
Return type
crate::models::SupportedPaymentTypesCurrencyResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Last updated