Cancel an order for a project
Cancel an order for a project.
Path parameters
-
User id
-
Project id
-
Resource ID
POST
/users/{user_id}/projects/{project_id}/orders/{id}/cancel
curl \
-X POST https://client-subdomain.bitbond.net/api/v1/users/{user_id}/projects/{project_id}/orders/{id}/cancel
Response examples (201)
{
"id": "string",
"amount": 42.0,
"cancelled_at": "string",
"currency": "string",
"sender_iban": "string",
"user_id": "string",
"created_at": "string",
"updated_at": "string",
"project_code": "string",
"disposable_capital": true,
"suitable_income": true,
"order_code": "string",
"status": {
"id": "string",
"order_id": "string",
"title": "string",
"reason": "string"
},
"payment_details": {
"account_name": "string",
"bank_name": "string",
"bic": "string",
"iban": "string",
"reference_code": "string"
},
"wallet_address": "string",
"external_metadata": {}
}
Response examples (201)
{
"id": "string",
"amount": 42.0,
"cancelled_at": "string",
"currency": "string",
"sender_iban": "string",
"user_id": "string",
"created_at": "string",
"updated_at": "string",
"project_code": "string",
"disposable_capital": true,
"suitable_income": true,
"order_code": "string",
"status": {
"id": "string",
"order_id": "string",
"title": "string",
"reason": "string"
},
"payment_details": {
"account_name": "string",
"bank_name": "string",
"bic": "string",
"iban": "string",
"reference_code": "string"
},
"wallet_address": "string",
"external_metadata": {}
}