Onramp

Create onramp session

Changed on

Creates an onramp session for the selected provider.

post/v1/onramp/sessions

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/v1/onramp/sessions
  • Auth: HTTP bearer

Request body

provider'coinbase' | 'stripe' required
destinationCurrencystring required
destinationNetworkstring required
destinationAddressstring required
sourceAmountstring
sourceCurrencystring
redirectUrlstring
countrystring
subdivisionstring
paymentMethodstring
clientIpstring

Response

Onramp session created successfully.

provider'coinbase' | 'stripe' required
sessionIdstring
clientSecretstring
publishableKeystring

Provider publishable key the embedded component initializes with (public by design).

statusstring
onrampUrlstring required
redirectUrlstring

Changes

    • info

      endpoint deprecated

    • info

      added the optional property to the response with the status