Skip to main content
POST
/
finops
/
v1
/
receivables
/
{receivable_id}
/
decline
Decline a quote
curl --request POST \
  --url https://api.sandbox.tesouro.com/finops/v1/receivables/{receivable_id}/decline \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-finops-version: <x-finops-version>' \
  --header 'x-organization-id: <x-organization-id>' \
  --data '
{
  "comment": "The quote was declined for some reasons"
}
'
{
  "success": true
}

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

receivable_id
string<uuid>
required

Body

application/json

Payload for decline a Qoute with a comment

comment
string

Field with a comment on why the client declined this Quote

Example:

"The quote was declined for some reasons"

Response

Successful Response

success
boolean
default:true