\OnramperApi

All URIs are relative to https://beta.usemoon.ai

Method
HTTP request
Description

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

Name
Type
Description
Required
Notes

authorization

String

[required]

account_name

String

[required]

transaction_input

[required]

Return type

serde_json::Value

Authorization

ApiKeyAuth, BearerAuth

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

Name
Type
Description
Required
Notes

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

Veccrate::models::Quote

Authorization

ApiKeyAuth, BearerAuth

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

Name
Type
Description
Required
Notes

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

Veccrate::models::SellQuote

Authorization

ApiKeyAuth, BearerAuth

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

Name
Type
Description
Required
Notes

authorization

String

[required]

source

String

[required]

country

String

[required]

Return type

crate::models::SupportedAssetResponse

Authorization

ApiKeyAuth, BearerAuth

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

Name
Type
Description
Required
Notes

authorization

String

[required]

r#type

String

[required]

Return type

crate::models::SupportedCurrenciesResponse

Authorization

ApiKeyAuth, BearerAuth

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

Name
Type
Description
Required
Notes

authorization

String

[required]

country

String

[required]

r#type

String

[required]

Return type

crate::models::SupportedDefaultResponse

Authorization

ApiKeyAuth, BearerAuth

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

Name
Type
Description
Required
Notes

authorization

String

[required]

Return type

crate::models::GetSupportedOnRampsResponse

Authorization

ApiKeyAuth, BearerAuth

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

Name
Type
Description
Required
Notes

authorization

String

[required]

fiat

String

[required]

country

String

[required]

r#type

String

[required]

Return type

crate::models::SupportedPaymentTypesCurrencyResponse

Authorization

ApiKeyAuth, BearerAuth

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

Name
Type
Description
Required
Notes

authorization

String

[required]

fiat

String

[required]

country

String

[required]

Return type

crate::models::SupportedPaymentTypesCurrencyResponse

Authorization

ApiKeyAuth, BearerAuth

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