Skip to main content
POST
Create a pledged advance request

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

Trio-Version
enum<string>
required

Version of the v2 contract the client is written against. Each breaking change publishes a new version.

Available options:
2026-10-19.v2
Trio-Target-Org-Id
string<uuid>

ID of another org to act on instead of the API key's own org. The key's org must have been granted access to it, and the request is refused with 403 FORBIDDEN otherwise. When that access or the API key is read-only, only GET and HEAD requests may carry it. When the target org requires mTLS, so does the request. Leave it out to act on the key's own org.

Body

application/json

Pledged advance request payload

Body params to create a pledged advance request

amount
integer
required

Amount in cents

Required range: x >= 1
assignor
object
required

Assignor of the pledged receivables and its Trio bank account

bank_account_id
string<uuid>
required

Bank account that receives the advance

payer
object
required

Payer of the pledged receivables. Required for both pledged_by values, since the payer is always registered as the counterparty

pledged_by
enum<string>
required

What the receivables are pledged by: every charge of the payer, or the charges listed

Available options:
payer_tax_number,
charge_id
charges
string<uuid>[]

Charge IDs, used when pledged_by is charge_id

description
string | null

Description

file_binary
string | null

Contract file content encoded in base64

Response

Advance request

A pledged advance request

data
V2 pledged advance request · object

Pledged advance request

Example: