Skip to main content
Use this endpoint to retrieve the latest state of any escrow agreement your platform has created. The response includes the top-level agreement status, the virtual bank account number (once assigned), and the full milestones array with individual confirmation flags. You can poll this endpoint to keep your UI in sync with the agreement lifecycle, or call it on demand when a user loads an agreement detail view.

Endpoint

Request

Headers

string
required
Your Vouch API key.

Path Parameters

string
required
The unique ID of the agreement to retrieve (e.g. agr_clx8f7k2z000108l4).

Examples

Response

A successful request returns HTTP 200 OK with the full agreement object.
string
Vouch’s unique identifier for the agreement.
string
The current lifecycle status of the agreement. See the status reference below for all possible values.
string | null
The virtual bank account number linked to this agreement. This is null until a successful GREEN or AMBER risk assessment has been completed for the agreement.
number
Total value of the agreement in the smallest currency unit.
string
ISO 4217 currency code for this agreement.
array
The complete list of milestones for this agreement and their current states.

Example Response

Agreement Status Reference

The status field reflects where the agreement currently sits in its lifecycle. Use this table to drive state transitions in your UI.