Skip to main content
PATCH
/
payables
/
{id}
Update payable
curl --request PATCH \
  --url https://api.allcovered.xyz/v1/payables/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "pending_review",
  "notes": "<string>",
  "due_date": "2023-12-25"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "invoice_number": "<string>",
    "vendor_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "vendor_name": "<string>",
    "amount": 123,
    "currency": "USD",
    "due_date": "2023-12-25",
    "status": "pending_review",
    "notes": "<string>",
    "payment_method": "ach",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}
Update an existing payable.

Authorizations

Authorization
string
header
required

API key from StableBase dashboard

Path Parameters

id
string<uuid>
required

Resource ID

Body

application/json
status
enum<string>
Available options:
pending_review,
ready
notes
string
due_date
string<date>

Response

Payable updated

data
object
required