Processing
Refund a deposit
Changed onReturns deposit funds to a specified address on the source chain.
post/deposits/{id}/refund
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.
Path parameters
idstring required
Deposit id. Returned by GET /deposits.
Example:12345
Headers
x-api-keystring
API key for authentication
Example:your-api-key
Request body
Example request
{
"recipient": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"
}Response
Deposit refunded successfully
Changes
- 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
- info
added the non-success response with the status
- info
added the non-success response with the status
- info