Skip to main content
POST
/
finops
/
v1
/
payables
/
{payable_id}
/
validate
Validate a payable
curl --request POST \
  --url https://api.sandbox.tesouro.com/finops/v1/payables/{payable_id}/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'x-finops-version: <x-finops-version>' \
  --header 'x-organization-id: <x-organization-id>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "validation_errors": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-finops-version
string<date>
required
x-organization-id
string<uuid>
required

The ID of the entity that owns the requested resource.

Example:

"9d2b4c8f-2087-4738-ba91-7359683c49a4"

Path Parameters

payable_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required

A unique ID assigned to this payable.

validation_errors
object[]