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
}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
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the entity that owns the requested resource.
"9d2b4c8f-2087-4738-ba91-7359683c49a4"
Payload for decline a Qoute with a comment
Field with a comment on why the client declined this Quote
"The quote was declined for some reasons"
Successful Response
Was this page helpful?