Onchain Deposit to Fiat Payout
POST/workflows/onchain-deposit-to-payment-method
This endpoint sets up a workflow which automatically converts crypto currency from onchain deposits into fiat currency and sends the acquired fiat in accordance to the prepared FormSession. The deposited amount will be traded for the specified fiat currency at the current market price after application of fees. Important:
- On-chain operations are irreversible
- Market prices may fluctuate significantly, impacting the final amount of fiat currency sent
- Although this workflow should keep working with the original FormSession we can't guarantee the longevity of the FormSession. For this reason, every time you need to present the customer with the onchain deposit address, you should use a new FormSession. If the customer reuses the onchain address after the FormSession becomes invalid the transfer will fail and money will NOT be lost.
Request
Responses
- 200
- 400
- 401
- 500
Workflow created
Bad request
Client is not authorized to perform this action
Internal server error