PENDING status — funding can begin once you run a payment risk assessment against it.
Endpoint
Request
Headers
string
required
Your Vouch API key. All protected routes require this header.
Body Parameters
string
required
Your platform’s unique identifier for the buyer. This is the ID you use in your own system — Vouch does not manage user accounts for you.
string
required
Your platform’s unique identifier for the seller.
number
required
The total value of the agreement in the smallest currency unit (kobo for NGN). Must equal the sum of all milestone amounts.
array
required
An ordered list of milestones that define how the escrowed funds are released. At least one milestone is required.
string
default:"NGN"
ISO 4217 currency code. Defaults to
NGN if omitted.string
Optional email address for the buyer. Used for notifications and virtual account labelling.
string
Optional display name for the buyer. Appears on the generated virtual account when the agreement is funded.
Examples
Response
A successful request returns HTTP201 Created with the full agreement object.
string
Vouch’s unique identifier for this agreement, prefixed with
agr_.string
The ID of the developer account that created this agreement.
string
The buyer identifier you provided.
string
The seller identifier you provided.
string
Current lifecycle status of the agreement. Newly created agreements always start as
PENDING.string | null
The virtual bank account number used to fund this agreement. This is
null until a successful payment risk assessment is completed with a GREEN or AMBER flag.number
Total value of the agreement in the smallest currency unit.
string
ISO 4217 currency code for this agreement.
string
ISO 8601 timestamp of when the agreement was created.
array
The milestones associated with this agreement.