Skip to main content
POST
/
autoramp-flow
/
onramp
Create an ONRAMP flow with virtual account
curl --request POST \
  --url https://ramp-sandbox.hexarails.ai/autoramp-flow/onramp \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "from": {
    "customerId": "6ac34182-aa2e-4290-ab1b-302a09f451d1",
    "currency": "AUD"
  },
  "to": "54321"
}
'
{
  "status": "SUCCESS",
  "data": {
    "id": "uuid-12345"
  }
}

Authorizations

X-API-Key
string
header
required

Body

application/json
from
object
required

ONRAMP flow "from": virtual account creation parameters (will be created if not exist)

to
string
required

ONRAMP flow "to": crypto address ID (funds exit)

Example:

"54321"

Response

Create autoramp flow successful

status
enum<string>
required

Success response status

Available options:
SUCCESS
Example:

"SUCCESS"

data
object
required

Response data