Skip to main content

Convert Crypto to Fiat Session

POST 

/hosted-workflows/onchain-deposit-to-payment-method

This endpoint initiates Noah's hosted session for automated crypto-to-fiat workflows.

The solution creates a hosted session where customers can set up a workflow that automatically converts incoming cryptocurrency from onchain deposits into fiat currency and sends the acquired fiat to their payment method. The workflow triggers automatically when cryptocurrency is deposited to the designated onchain address.

Use the endpoint to retrieve a response consisting of a URL, which you pass to your customer so that they can configure their automated conversion workflow through a hosted session. Deposited amounts are traded for the specified fiat currency at current market prices after application of fees.

Notes:

  • On-chain operations are irreversible, and market prices may fluctuate significantly, impacting the final payout amount.
  • Although this workflow should continue working with the original FormSession, Noah cannot guarantee FormSession longevity. For this reason, generate a new FormSession each time you present the customer with the onchain deposit address.
  • If the customer reuses the onchain address after the FormSession becomes invalid, the transfer will fail but funds will not be lost.

Request

Responses

HostedURL successfully created.