Execute an off-ramp transaction
Off-Ramp
/api/partner/v2/off-ramp/execute
Executes a previously created off-ramp transaction. This endpoint triggers the actual processing of the off-ramp transaction after crypto funds have been received.
POST
Execute an off-ramp transaction
Executes a previously created off-ramp transaction, triggering the fiat payout to the user’s bank account. Call this after the user has sent crypto to theDocumentation Index
Fetch the complete documentation index at: https://docs.capa.fi/llms.txt
Use this file to discover all available pages before exploring further.
destinationWalletAddress returned by the Create Off-Ramp endpoint.
Transaction Status Values
| Status | Description |
|---|---|
PENDING | Transaction is pending processing. |
IN_PROGRESS | Transaction is being processed. |
COMPLETED | Transaction has completed successfully. |
FAILED | Transaction has failed. |
CANCELLED | Transaction was cancelled. |
CRYPTO_RECEIVED | Crypto payment has been received. |
CRYPTO_NOT_RECEIVED | Crypto payment was not received. |
COMPLETED_CRYPTO_RECEIVAL | Crypto receival process has completed. |
BANK_TRANSFER_PENDING | Bank transfer is pending. |
READY_BANK_TRANSFER | Ready to initiate bank transfer. |
Important Notes
- The
transactionIdmust reference a valid off-ramp transaction created via Create Off-Ramp. - The transaction must belong to the partner associated with the API key.
Use Cases
- Manual Execution: Trigger execution after verifying crypto receipt.
- Workflow Integration: Separate transaction creation from execution in automated workflows.
Error Codes
Common Errors
| HTTP Status | Code | Message |
|---|---|---|
| 401 | UNAUTHORIZED | ”API Key is missing” |
| 401 | UNAUTHORIZED | ”Invalid API Key format” |
| 401 | UNAUTHORIZED | ”Invalid API Key” |
Endpoint-Specific Errors
| HTTP Status | Code | Message |
|---|---|---|
| 400 | INVALID_USER_INPUT_ERROR | ”Invalid User Input” |
| 404 | TRANSACTION_NOT_FOUND | ”Transaction not found” |
| 403 | TRANSACTION_ACCESS_DENIED | ”Transaction does not belong to this partner” |
Headers
Api key for the affiliated partner that is performing the request
Body
application/json
Identifier for the off-ramp transaction to execute
Example:
"8374f327-38bd-4b0b-b8a7-2524599eb903"