Start an onramp order
Changed onSigns a hosted checkout for the account. The order is visible at GET /onramp/orders/{orderId} once the provider first reports it.
Request
- Base URLhttps://v1.orchestrator.rhinestone.dev/deposit-processor
- Auth
- API key in header x-api-key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
API key for authentication
Trusted edge-resolved ISO country. When present it overrides body.baseCountry and x-client-ip, and enables country-specific payment-method validation.
The end user's IP address as observed by the edge, for edges that can name the IP but cannot resolve a country themselves (no local GeoIP database). Used only when x-user-country is absent, and ignored unless it is a publicly-routable address. Prefer x-user-country when your edge already has a country — for example Cloudflare's cf-ipcountry — since it needs no lookup here.
Request body
Example request
{
"account": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"baseCountry": "US",
"baseCurrencyCode": "USD",
"method": "apple-pay",
"methodSelectionSource": "personalized"
}Response
Hosted checkout ready
Changes
- breaking
the
/response's property format changed fromurito no format for status - warning
added the new
PROVIDER_FORBIDDENenum value to theresponse property for the response status - warning
added the new
PROVIDER_FORBIDDENenum value to theresponse property for the response status - warning
added the new
PROVIDER_FORBIDDENenum value to theresponse property for the response status - warning
added the new
PROVIDER_FORBIDDENenum value to theresponse property for the response status - warning
added the new
PROVIDER_FORBIDDENenum value to theresponse property for the response status - warning
added the new
PROVIDER_REJECTEDenum value to theresponse property for the response status - warning
added the new
PROVIDER_REJECTEDenum value to theresponse property for the response status - warning
added the new
PROVIDER_REJECTEDenum value to theresponse property for the response status - warning
added the new
PROVIDER_REJECTEDenum value to theresponse property for the response status - warning
added the new
PROVIDER_REJECTEDenum value to theresponse property for the response status - warning
added the new
PROVIDER_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
PROVIDER_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
PROVIDER_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
PROVIDER_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
PROVIDER_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
READ_ONLY_SESSIONenum value to theresponse property for the response status - warning
added the new
READ_ONLY_SESSIONenum value to theresponse property for the response status - warning
added the new
READ_ONLY_SESSIONenum value to theresponse property for the response status - warning
added the new
READ_ONLY_SESSIONenum value to theresponse property for the response status - warning
added the new
READ_ONLY_SESSIONenum value to theresponse property for the response status - info
the endpoint scheme security
internalProjectBearerwas added to the API - info
the endpoint scheme security
tenantApiKeywas added to the API - info
the
headerrequest parameterx-api-keybecame optional - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info