Onramp

Get onramp quote(s)

Changed on

Retrieves onramp quote(s) without creating an actual transaction.

If provider is specified, returns a single quote for that provider. If provider is not specified, returns quotes from all available providers.

post/v1/onramp/quotes

Request

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

Headers

cf-connecting-ipstring
x-forwarded-forstring

Request body

provider'coinbase' | 'stripe'
sourceCurrencystring required
destinationCurrencystring required
destinationNetworkstring required
sourceAmountstring required
destinationAddressstring

Where the funds would land. Optional because a quote doesn't move money, but a provider may still validate the address against the destination network — so pass the session's real one wherever it is known.

paymentMethodstring
countrystring
subdivisionstring

Response

Onramp quote(s) retrieved successfully.

OR

Changes

    • info

      endpoint deprecated

    • info

      added the new optional header request parameter cf-connecting-ip

    • info

      added the new optional header request parameter x-forwarded-for

    • info

      added the new optional request property