Skip to main content
DELETE
Cancel a contract

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-key
string | null

Path Parameters

contract_id
string<uuid>
required

Response

Successful Response

A recurring billing agreement.

id
string<uuid>
required
clientId
string<uuid>
required
contractorId
string<uuid>
required
type
enum<string>
required

What the recurring agreement is for. A label only — it drives no logic.

Available options:
service,
employment,
nda,
contractor,
vendor,
msa,
other
status
enum<string>
required

Contract status. A contract is live the moment it is created.

Available options:
active,
paused,
completed,
cancelled
terms
ContractTermsInput · object
required

Commercial terms a client sets on a contract.

amount
string
required
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
currency
enum<string>
required

Supported invoice/contract currencies. G10 majors + AED/HKD, plus popular crypto tokens.

Available options:
USD,
EUR,
GBP,
JPY,
CHF,
CAD,
AUD,
NZD,
SEK,
NOK,
AED,
HKD,
BRL,
MXN,
USDC,
USDT,
DAI,
SOL,
BTC,
ETH,
NEAR,
BNB,
XRP,
ADA,
DOGE,
TRX,
GRAM,
AVAX,
MATIC,
DOT,
LTC,
LINK,
ARB,
OP,
SUI
billing
BillingCycleInput · object
required

The calendar schedule a contract bills on.

endsOn anchors the cycle: a day of month ("1".."31" or "last") for monthly/quarterly/yearly, a weekday name for weekly/biweekly. It is rejected for a one-time contract.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
creatorId
string<uuid> | null
client
ContractParty · object | null

Minimal user data embedded in contract responses.

contractor
ContractParty · object | null

Minimal user data embedded in contract responses.

label
string | null
clientAddress
UserAddress · object | null

Address schema for user.

Canonical field names: street_address, address_line_2, city, state, country, zip. Accepts legacy Align/IBAN field names (street_line_1, street_line_2, postal_code) for backward compatibility with existing JSONB data.

contractorAddress
UserAddress · object | null

Address schema for user.

Canonical field names: street_address, address_line_2, city, state, country, zip. Accepts legacy Align/IBAN field names (street_line_1, street_line_2, postal_code) for backward compatibility with existing JSONB data.

schedule
ContractScheduleResponse · object | null

The resolved calendar schedule of a contract.

documents
ContractDocument · object[]
priorityMethods
enum<string>[]

Transaction type - payment rail.

Includes all FiatPaymentType values (sepa/swift/ach/uaefts) plus extended fiat variants (wire/swift-usd/swift-eur/fedwire/pix) and non-fiat rails (crypto/card/internal/refund/oneclick/hevn_transfer).

oneclick, move and hevn_transfer are not stored on Transaction.type but are accepted as filter values for parity with the frontend TransactionType enum (otherwise selecting the "Transfers" category, which sends hevn_transfer, would 400 in parse_csv).

Available options:
sepa,
swift,
ach,
uaefts,
fedwire,
rtp,
fednow,
spei,
pse,
transfers_3_0,
ukfps,
swift-usd,
swift-eur,
wire,
pix,
crypto,
card,
internal,
refund,
oneclick,
move,
hevn_transfer,
subscription
paymentMethods
Paymentmethods · object[]
lastInvoice
ContractLastInvoice · object | null

Flat last-invoice data embedded in contract responses.