Create an AP payment
purchasing:writeThe migration:write scope unlocks the suppress_gl, skip_plaid, and idempotency_key parameters (migration loads only).
Authorizations
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
Client-provided idempotency key. Requires migration:write scope.
64Body
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.
{
"vendor_id": "<uuid>",
"payment_method": "check",
"bill_applications": [
{ "bill_id": "<uuid>", "amount": 35.50 }
]
}Shape B -- amount + bill_ids array (canonical):
Provide top-level amount and bill_ids as objects with per-bill amount.
{
"vendor_id": "<uuid>",
"amount": 35.50,
"payment_method": "check",
"bill_ids": [{ "id": "<uuid>", "amount": 35.50 }]
}Both shapes are accepted. bill_applications is normalized to bill_ids at the API boundary.
check, ach, wire, credit_card, cash, other Total payment amount. Optional when bill_applications is provided (derived from sum). Required when using bill_ids.
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.
Alternative canonical shape. Each item maps one vendor bill to a payment amount. Use bill_applications for new integrations.
migration:write scope required. Skip cash/check GL posting for historical import.
migration:write scope required. Skip Plaid ACH initiation for historical payment import.
migration:write scope required. Client-provided idempotency key stored on ap_payments row.
64Response
Created AP payment
A payment Arcus made to a vendor (AP-side).
ap_payment Set when payment is applied to a single bill; null for batch/on-account.
check, ach, wire, credit_card, cash, other Check number, ACH trace, etc.
pending, sent, cleared, voided, returned 
