OnramperApi

moonsdk.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/payment-types

GET /onramper/payment-types/fiat

on_ramper_checkout

object on_ramper_checkout(authorization, account_name, transaction_input)

Example

  • Api Key Authentication (ApiKeyAuth):

  • Api Key Authentication (BearerAuth):

Parameters

Name
Type
Description
Notes

authorization

str

account_name

str

transaction_input

Return type

object

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

HTTP response details

Status code
Description
Response headers

200

Ok

-

[Back to top] [Back to API list] [Back to Model list] [Back to README]

on_ramper_get_quotes_buy

List[Quote] on_ramper_get_quotes_buy(authorization, fiat, crypto, amount, payment_method=payment_method, uuid=uuid, client_name=client_name, country=country)

Example

  • Api Key Authentication (ApiKeyAuth):

  • Api Key Authentication (BearerAuth):

Parameters

Name
Type
Description
Notes

authorization

str

fiat

str

crypto

str

amount

float

payment_method

str

[optional] [default to 'creditcard']

uuid

str

[optional] [default to '']

client_name

str

[optional] [default to '']

country

str

[optional] [default to '']

Return type

List[Quote]

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

HTTP response details

Status code
Description
Response headers

200

Ok

-

[Back to top] [Back to API list] [Back to Model list] [Back to README]

on_ramper_get_quotes_sell

List[SellQuote] on_ramper_get_quotes_sell(authorization, fiat, crypto, amount, payment_method=payment_method, uuid=uuid, client_name=client_name, country=country)

Example

  • Api Key Authentication (ApiKeyAuth):

  • Api Key Authentication (BearerAuth):

Parameters

Name
Type
Description
Notes

authorization

str

fiat

str

crypto

str

amount

float

payment_method

str

[optional] [default to 'creditcard']

uuid

str

[optional] [default to '']

client_name

str

[optional] [default to '']

country

str

[optional] [default to '']

Return type

List[SellQuote]

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

HTTP response details

Status code
Description
Response headers

200

Ok

-

[Back to top] [Back to API list] [Back to Model list] [Back to README]

on_ramper_get_supported_assets

SupportedAssetResponse on_ramper_get_supported_assets(authorization, source, country)

Example

  • Api Key Authentication (ApiKeyAuth):

  • Api Key Authentication (BearerAuth):

Parameters

Name
Type
Description
Notes

authorization

str

source

str

country

str

Return type

SupportedAssetResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

HTTP response details

Status code
Description
Response headers

200

Ok

-

[Back to top] [Back to API list] [Back to Model list] [Back to README]

on_ramper_get_supported_currencies

SupportedCurrenciesResponse on_ramper_get_supported_currencies(authorization, type)

Example

  • Api Key Authentication (ApiKeyAuth):

  • Api Key Authentication (BearerAuth):

Parameters

Name
Type
Description
Notes

authorization

str

type

str

Return type

SupportedCurrenciesResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

HTTP response details

Status code
Description
Response headers

200

Ok

-

[Back to top] [Back to API list] [Back to Model list] [Back to README]

on_ramper_get_supported_defaults_all

SupportedDefaultResponse on_ramper_get_supported_defaults_all(authorization, country, type)

Example

  • Api Key Authentication (ApiKeyAuth):

  • Api Key Authentication (BearerAuth):

Parameters

Name
Type
Description
Notes

authorization

str

country

str

type

str

Return type

SupportedDefaultResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

HTTP response details

Status code
Description
Response headers

200

Ok

-

[Back to top] [Back to API list] [Back to Model list] [Back to README]

on_ramper_get_supported_on_ramps_all

GetSupportedOnRampsResponse on_ramper_get_supported_on_ramps_all(authorization)

Example

  • Api Key Authentication (ApiKeyAuth):

  • Api Key Authentication (BearerAuth):

Parameters

Name
Type
Description
Notes

authorization

str

Return type

GetSupportedOnRampsResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

HTTP response details

Status code
Description
Response headers

200

Ok

-

[Back to top] [Back to API list] [Back to Model list] [Back to README]

on_ramper_get_supported_payment_types

SupportedPaymentTypesCurrencyResponse on_ramper_get_supported_payment_types(authorization, fiat, country, type)

Example

  • Api Key Authentication (ApiKeyAuth):

  • Api Key Authentication (BearerAuth):

Parameters

Name
Type
Description
Notes

authorization

str

fiat

str

country

str

type

str

Return type

SupportedPaymentTypesCurrencyResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

HTTP response details

Status code
Description
Response headers

200

Ok

-

[Back to top] [Back to API list] [Back to Model list] [Back to README]

on_ramper_get_supported_payment_types_fiat

SupportedPaymentTypesCurrencyResponse on_ramper_get_supported_payment_types_fiat(authorization, fiat, country)

Example

  • Api Key Authentication (ApiKeyAuth):

  • Api Key Authentication (BearerAuth):

Parameters

Name
Type
Description
Notes

authorization

str

fiat

str

country

str

Return type

SupportedPaymentTypesCurrencyResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

HTTP response details

Status code
Description
Response headers

200

Ok

-

[Back to top] [Back to API list] [Back to Model list] [Back to README]

Last updated