Financials
Autorizações
Parâmetros de rota
idstringObrigatório
Respostas
200
OK
application/json
404
Financial was not found
application/json
500
An internal server error was thrown
application/json
get
GET /api/sales/financials/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
"id": "text",
"partner_id": "text",
"partner_name": "text",
"order_id": "text",
"value": 1,
"paying_off_value": 1,
"paying_off_date": "2025-06-30T18:36:36.628Z",
"due_date": "2025-06-30T18:36:36.628Z",
"status": "text",
"type": "text",
"payment_billet": {
"resource_file_id": "123e4567-e89b-12d3-a456-426614174000",
"resource_file_name": "text",
"bar_code": "text",
"qr_code": "text"
},
"attachments": [
{
"id": "text",
"is_payment_billet": true,
"payment_billet_bar_code": "text",
"payment_billet_qr_code": "text",
"resource_files": [
{
"id": "text",
"fileName": "text"
}
]
}
]
}
Autorizações
Parâmetros de rota
idstringObrigatório
Corpo
partner_idstringObrigatório
valuenumberObrigatório
paying_off_valuenumberObrigatório
paying_off_datestring · date-timeObrigatório
due_datestring · date-timeObrigatório
statusstringObrigatório
attachmentsstring · uuid[]Opcional
order_idstringOpcional
typestringOpcional
Respostas
200
Financial updated successfully
application/json
422
A validation error was thrown
application/json
500
An internal server error was thrown
application/json
put
PUT /api/sales/financials/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 350
{
"partner_id": "text",
"value": 1,
"paying_off_value": 1,
"paying_off_date": "2025-06-30T18:36:36.628Z",
"due_date": "2025-06-30T18:36:36.628Z",
"status": "text",
"payment_billet": {
"resource_file_id": "123e4567-e89b-12d3-a456-426614174000",
"bar_code": "text",
"qr_code": "text"
},
"attachments": [
"123e4567-e89b-12d3-a456-426614174000"
],
"order_id": "text",
"type": "text"
}
{
"id": "text",
"partner_id": "text",
"partner_name": "text",
"value": 1,
"paying_off_value": 1,
"paying_off_date": "2025-06-30T18:36:36.628Z",
"due_date": "2025-06-30T18:36:36.628Z",
"status": "text",
"order_id": "text",
"type": "text",
"payment_billet": {
"resource_file_id": "123e4567-e89b-12d3-a456-426614174000",
"bar_code": "text",
"qr_code": "text"
},
"attachments": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
Autorizações
Parâmetros de rota
idstringObrigatório
Respostas
204
Financial removed successfully
application/json
422
A validation error was thrown
application/json
500
An internal server error was thrown
application/json
delete
DELETE /api/sales/financials/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
"id": "text"
}
Autorizações
Parâmetros de consulta
searchstringOpcionalDefault:
""
pageinteger · int32OpcionalDefault:
0
perPageinteger · int32OpcionalDefault:
25
sortstringOpcionalDefault:
""
dirstringOpcionalDefault:
asc
Respostas
200
OK
application/json
404
Financial was not found
application/json
500
An internal server error was thrown
application/json
get
GET /api/sales/financials HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
"currentPage": 1,
"perPage": 1,
"total": 1,
"items": [
{
"id": "text",
"partner_id": "text",
"partner_name": "text",
"value": 1,
"paying_off_value": 1,
"paying_off_date": "2025-06-30T18:36:36.628Z",
"due_date": "2025-06-30T18:36:36.628Z",
"status": "text",
"order_id": "text",
"type": "text"
}
]
}
Autorizações
Corpo
idstringOpcional
partner_idstringObrigatório
valuenumberObrigatório
paying_off_valuenumberObrigatório
paying_off_datestring · date-timeObrigatório
due_datestring · date-timeObrigatório
statusstringObrigatório
attachmentsstring · uuid[]Opcional
order_idstringOpcional
typestringOpcional
Respostas
201
Financial created successfully
application/json
422
A validation error was thrown
application/json
500
An internal server error was thrown
application/json
post
POST /api/sales/financials HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 362
{
"id": "text",
"partner_id": "text",
"value": 1,
"paying_off_value": 1,
"paying_off_date": "2025-06-30T18:36:36.628Z",
"due_date": "2025-06-30T18:36:36.628Z",
"status": "text",
"payment_billet": {
"resource_file_id": "123e4567-e89b-12d3-a456-426614174000",
"bar_code": "text",
"qr_code": "text"
},
"attachments": [
"123e4567-e89b-12d3-a456-426614174000"
],
"order_id": "text",
"type": "text"
}
{
"id": "text",
"partner_id": "text",
"partner_name": "text",
"value": 1,
"paying_off_value": 1,
"paying_off_date": "2025-06-30T18:36:36.628Z",
"due_date": "2025-06-30T18:36:36.628Z",
"status": "text",
"order_id": "text",
"type": "text",
"payment_billet": {
"resource_file_id": "123e4567-e89b-12d3-a456-426614174000",
"bar_code": "text",
"qr_code": "text"
},
"attachments": [
"123e4567-e89b-12d3-a456-426614174000"
]
}