Start a withdrawal to a bank account
Changed onPrepares the payout with the provider and opens it for one exact amount: the requested amount, or slightly less (one base unit at a time) when another open withdrawal holds it. Then send order.payment exactly. A source holding the token the provider takes, on its chain, pays the provider directly; any other source on a chain that takes deposits pays into the customer’s withdrawal account an amount quoted to deliver it (SOURCE_NOT_SUPPORTED, NO_ROUTE or QUOTE_UNAVAILABLE otherwise, holding nothing). Once the order exists, every error names it (orderId).
Request
- Base URLhttps://v1.orchestrator.rhinestone.dev/deposit-processor
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Integrator API key: the project’s orders
Customer bearer from POST /compliance/sessions, or a project-scoped platform bearer where the route permits tenant access
Request body
Example request
{
"amount": "100000000",
"source": {
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"chain": "eip155:8453",
"token": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"
}
}Response
The order, the payment to send, and the estimate
Example response
{
"order": {
"sender": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"payment": {
"from": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"to": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"token": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"amount": "100000000"
}
}
}Changes
- breaking
added to the
/////response propertyoneOflist for the response status - warning
added the new
FUNDING_NOT_CONFIGUREDenum value to theresponse property for the response status - warning
added the new
FUNDING_NOT_CONFIGUREDenum value to theresponse property for the response status - warning
added the new
FUNDING_NOT_CONFIGUREDenum value to theresponse property for the response status - warning
added the new
FUNDING_NOT_CONFIGUREDenum value to theresponse property for the response status - warning
added the new
FUNDING_NOT_CONFIGUREDenum value to theresponse property for the response status - warning
added the new
FUNDING_NOT_CONFIGUREDenum value to theresponse property for the response status - warning
added the new
FUNDING_NOT_CONFIGUREDenum value to theresponse property for the response status - warning
added the new
NO_ROUTEenum value to theresponse property for the response status - warning
added the new
NO_ROUTEenum value to theresponse property for the response status - warning
added the new
NO_ROUTEenum value to theresponse property for the response status - warning
added the new
NO_ROUTEenum value to theresponse property for the response status - warning
added the new
NO_ROUTEenum value to theresponse property for the response status - warning
added the new
NO_ROUTEenum value to theresponse property for the response status - warning
added the new
NO_ROUTEenum 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_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_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
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
QUOTE_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
QUOTE_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
QUOTE_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
QUOTE_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
QUOTE_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
QUOTE_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
QUOTE_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 - 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
SOURCE_NOT_SUPPORTEDenum value to theresponse property for the response status - warning
added the new
SOURCE_NOT_SUPPORTEDenum value to theresponse property for the response status - warning
added the new
SOURCE_NOT_SUPPORTEDenum value to theresponse property for the response status - warning
added the new
SOURCE_NOT_SUPPORTEDenum value to theresponse property for the response status - warning
added the new
SOURCE_NOT_SUPPORTEDenum value to theresponse property for the response status - warning
added the new
SOURCE_NOT_SUPPORTEDenum value to theresponse property for the response status - warning
added the new
SOURCE_NOT_SUPPORTEDenum value to theresponse property for the response status - info
the endpoint scheme security
complianceSessionBearerwas added to the API - 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
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
withdrawal_accountdiscriminator mapping keys to the/////response property for the response status - info
removed the
CROSS_ROUTE_NOT_SUPPORTEDenum value from theresponse property for the response status - info
removed the
CROSS_ROUTE_NOT_SUPPORTEDenum value from theresponse property for the response status - info
removed the
CROSS_ROUTE_NOT_SUPPORTEDenum value from theresponse property for the response status - info
removed the
CROSS_ROUTE_NOT_SUPPORTEDenum value from theresponse property for the response status - info
removed the
CROSS_ROUTE_NOT_SUPPORTEDenum value from theresponse property for the response status - info
removed the
CROSS_ROUTE_NOT_SUPPORTEDenum value from theresponse property for the response status - info
removed the
CROSS_ROUTE_NOT_SUPPORTEDenum value from theresponse property for the response status
- breaking
- info
endpoint added
- info