Fetch the orders list of a project for the current user
Fetch the orders list of a project for the current user.
Path parameters
-
User id
-
Project id
Query parameters
-
status string
Filter orders by status. Values: open, paid, settled, cancelled
-
distributable boolean
Filter orders ready to be distributable
-
updated_at string
Filter orders that has been updated from a specific date
-
order_code string
Filter orders by its
order_code
GET
/users/{user_id}/projects/{project_id}/orders
curl \
-X GET https://client-subdomain.bitbond.net/api/v1/users/{user_id}/projects/{project_id}/orders
Response examples (200)
[
{
"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 (200)
[
{
"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": {}
}
]