All URIs are relative to https://beta.usemoon.ai
interface{} OnRamperCheckout(ctx, accountName).Authorization(authorization).TransactionInput(transactionInput).Execute()
Other parameters are passed through a pointer to a apiOnRamperCheckoutRequest struct via the builder pattern
transactionInput | TransactionInput | |
interface{}
ApiKeyAuth, BearerAuth
Content-Type: application/json
Accept: application/json
[]Quote OnRamperGetQuotesBuy(ctx).Authorization(authorization).Fiat(fiat).Crypto(crypto).Amount(amount).PaymentMethod(paymentMethod).Uuid(uuid).ClientName(clientName).Country(country).Execute()
Other parameters are passed through a pointer to a apiOnRamperGetQuotesBuyRequest struct via the builder pattern
[]Quote
ApiKeyAuth, BearerAuth
Content-Type: Not defined
Accept: application/json
[]SellQuote OnRamperGetQuotesSell(ctx).Authorization(authorization).Fiat(fiat).Crypto(crypto).Amount(amount).PaymentMethod(paymentMethod).Uuid(uuid).ClientName(clientName).Country(country).Execute()
Other parameters are passed through a pointer to a apiOnRamperGetQuotesSellRequest struct via the builder pattern
[]SellQuote
ApiKeyAuth, BearerAuth
Content-Type: Not defined
Accept: application/json
SupportedAssetResponse OnRamperGetSupportedAssets(ctx).Authorization(authorization).Source(source).Country(country).Execute()
Other parameters are passed through a pointer to a apiOnRamperGetSupportedAssetsRequest struct via the builder pattern
SupportedAssetResponse
ApiKeyAuth, BearerAuth
Content-Type: Not defined
Accept: application/json
SupportedCurrenciesResponse OnRamperGetSupportedCurrencies(ctx).Authorization(authorization).Type_(type_).Execute()
Other parameters are passed through a pointer to a apiOnRamperGetSupportedCurrenciesRequest struct via the builder pattern
SupportedCurrenciesResponse
ApiKeyAuth, BearerAuth
Content-Type: Not defined
Accept: application/json
SupportedDefaultResponse OnRamperGetSupportedDefaultsAll(ctx).Authorization(authorization).Country(country).Type_(type_).Execute()
Other parameters are passed through a pointer to a apiOnRamperGetSupportedDefaultsAllRequest struct via the builder pattern
SupportedDefaultResponse
ApiKeyAuth, BearerAuth
Content-Type: Not defined
Accept: application/json
GetSupportedOnRampsResponse OnRamperGetSupportedOnRampsAll(ctx).Authorization(authorization).Execute()
Other parameters are passed through a pointer to a apiOnRamperGetSupportedOnRampsAllRequest struct via the builder pattern
GetSupportedOnRampsResponse
ApiKeyAuth, BearerAuth
Content-Type: Not defined
Accept: application/json
SupportedPaymentTypesCurrencyResponse OnRamperGetSupportedPaymentTypes(ctx).Authorization(authorization).Fiat(fiat).Country(country).Type_(type_).Execute()
Other parameters are passed through a pointer to a apiOnRamperGetSupportedPaymentTypesRequest struct via the builder pattern
SupportedPaymentTypesCurrencyResponse
ApiKeyAuth, BearerAuth
Content-Type: Not defined
Accept: application/json
SupportedPaymentTypesCurrencyResponse OnRamperGetSupportedPaymentTypesFiat(ctx).Authorization(authorization).Fiat(fiat).Country(country).Execute()
Other parameters are passed through a pointer to a apiOnRamperGetSupportedPaymentTypesFiatRequest struct via the builder pattern
SupportedPaymentTypesCurrencyResponse
ApiKeyAuth, BearerAuth
Content-Type: Not defined
Accept: application/json
[Back to API list] [Back to Model list] [Back to README]
[Back to API list] [Back to Model list] [Back to README]
[Back to API list] [Back to Model list] [Back to README]
[Back to API list] [Back to Model list] [Back to README]
[Back to API list] [Back to Model list] [Back to README]
[Back to API list] [Back to Model list] [Back to README]
[Back to API list] [Back to Model list] [Back to README]
[Back to API list] [Back to Model list] [Back to README]
[Back to API list] [Back to Model list] [Back to README]
OnRamperCheckout
Post /onramper/fund/${accountName}
OnRamperGetQuotesBuy
Get /onramper/quotes/buy
OnRamperGetQuotesSell
Get /onramper/quotes/sell
OnRamperGetSupportedAssets
Get /onramper/assets
OnRamperGetSupportedCurrencies
Get /onramper/currencies
OnRamperGetSupportedDefaultsAll
Get /onramper/defaults
OnRamperGetSupportedOnRampsAll
Get /onramper/onramps
OnRamperGetSupportedPaymentTypes
Get /onramper/payment-types
OnRamperGetSupportedPaymentTypesFiat
Get /onramper/payment-types/fiat
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
accountName
string
authorization
string
authorization
string
fiat
string
crypto
string
amount
float64
paymentMethod
string
[default to "creditcard"]
uuid
string
[default to ""]
clientName
string
[default to ""]
country
string
[default to ""]
authorization
string
fiat
string
crypto
string
amount
float64
paymentMethod
string
[default to "creditcard"]
uuid
string
[default to ""]
clientName
string
[default to ""]
country
string
[default to ""]
authorization
string
source
string
country
string
authorization
string
type_
string
authorization
string
country
string
type_
string
authorization
string
authorization
string
fiat
string
country
string
type_
string
authorization
string
fiat
string
country
string