OnramperApi
OnramperApi
Method
HTTP request
Description
onRamperCheckout
Example
// Import classes:
//import org.usemoonai.moonsdk.infrastructure.*
//import org.usemoonai.moonsdk.models.*
val apiInstance = OnramperApi()
val authorization : kotlin.String = authorization_example // kotlin.String |
val accountName : kotlin.String = accountName_example // kotlin.String |
val transactionInput : TransactionInput = // TransactionInput |
try {
val result : kotlin.Any = apiInstance.onRamperCheckout(authorization, accountName, transactionInput)
println(result)
} catch (e: ClientException) {
println("4xx response calling OnramperApi#onRamperCheckout")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling OnramperApi#onRamperCheckout")
e.printStackTrace()
}Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
onRamperGetQuotesBuy
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
onRamperGetQuotesSell
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
onRamperGetSupportedAssets
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
onRamperGetSupportedCurrencies
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
onRamperGetSupportedDefaultsAll
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
onRamperGetSupportedOnRampsAll
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
onRamperGetSupportedPaymentTypes
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
onRamperGetSupportedPaymentTypesFiat
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated