Skip to main content
POST
Create an AP payment

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Headers

Idempotency-Key
string

Client-provided idempotency key. Requires migration:write scope.

Maximum string length: 64

Body

application/json

Provide bill applications using one of two shapes:

Shape A (recommended) -- bill_applications array: Omit top-level amount; the server derives it from the sum of bill_applications[].amount.

Shape B -- amount + bill_ids array (canonical): Provide top-level amount and bill_ids as objects with per-bill amount.

Both shapes are accepted. bill_applications is normalized to bill_ids at the API boundary.

vendor_id
string<uuid>
required
payment_method
enum<string>
required
Available options:
check,
ach,
wire,
credit_card,
cash,
other
amount
number

Total payment amount. Optional when bill_applications is provided (derived from sum). Required when using bill_ids.

bill_applications
object[]

Preferred shape. Each item maps one vendor bill to a payment amount. Mutually exclusive with bill_ids; if both are provided, bill_applications takes precedence.

bill_ids
object[]

Alternative canonical shape. Each item maps one vendor bill to a payment amount. Use bill_applications for new integrations.

vendor_credit_ids
string<uuid>[]
bank_account_id
string<uuid>
payment_date
string<date>
memo
string
reference_number
string
notes
string
suppress_gl
boolean

migration:write scope required. Skip cash/check GL posting for historical import.

skip_plaid
boolean

migration:write scope required. Skip Plaid ACH initiation for historical payment import.

idempotency_key
string

migration:write scope required. Client-provided idempotency key stored on ap_payments row.

Maximum string length: 64

Response

Created AP payment

A payment Arcus made to a vendor (AP-side).

id
string<uuid>
object
enum<string>
Available options:
ap_payment
entity_id
string<uuid>
read-only
vendor_id
string<uuid>
bill_id
string<uuid> | null

Set when payment is applied to a single bill; null for batch/on-account.

batch_id
string<uuid> | null
method
enum<string>
Available options:
check,
ach,
wire,
credit_card,
cash,
other
amount
number
currency
string
default:USD
reference
string | null

Check number, ACH trace, etc.

status
enum<string>
read-only
Available options:
pending,
sent,
cleared,
voided,
returned
payment_date
string<date>
cleared_date
string<date> | null
notes
string | null
metadata
object | null
created_at
string<date-time>
read-only