Get Payment Term
curl --request GET \
--url https://qwoty.app/api/payment-terms/{id} \
--header 'Authorization: <authorization>'{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Net 30 Days",
"api_name": "net_30_days",
"reference": "PT001",
"is_active": true,
"id_crm": "crm_123",
"id_erp": "erp_456",
"id_accounting": "acc_789",
"installments": [
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Full Payment",
"percentage": 100,
"term": "net30",
"custom_text": null,
"order_number": 1
}
],
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T10:30:00Z"
}
}
Payment Terms
Get Payment Term
Retrieve a specific payment term by ID
GET
/
api
/
payment-terms
/
{id}
Get Payment Term
curl --request GET \
--url https://qwoty.app/api/payment-terms/{id} \
--header 'Authorization: <authorization>'{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Net 30 Days",
"api_name": "net_30_days",
"reference": "PT001",
"is_active": true,
"id_crm": "crm_123",
"id_erp": "erp_456",
"id_accounting": "acc_789",
"installments": [
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Full Payment",
"percentage": 100,
"term": "net30",
"custom_text": null,
"order_number": 1
}
],
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T10:30:00Z"
}
}
Authorization
Bearer token for authentication. Format:
Bearer qwoty_your_tokenPath Parameters
UUID of the payment term
Examples
curl https://qwoty.app/api/payment-terms/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer qwoty_your_token"
Response
Indicates if the request was successful
The payment term object
Show Payment Term Object
Show Payment Term Object
Unique identifier (UUID)
Payment term name
API identifier
Internal reference
Active status
External CRM ID
External ERP ID
External accounting ID
Array of installment objects with id, name, percentage, term, custom_text, and order_number
ISO 8601 timestamp
ISO 8601 timestamp
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Net 30 Days",
"api_name": "net_30_days",
"reference": "PT001",
"is_active": true,
"id_crm": "crm_123",
"id_erp": "erp_456",
"id_accounting": "acc_789",
"installments": [
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Full Payment",
"percentage": 100,
"term": "net30",
"custom_text": null,
"order_number": 1
}
],
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T10:30:00Z"
}
}
Error Responses
{
"success": false,
"error": "Payment term not found"
}
Was this page helpful?
⌘I

