Apply a payment to an invoice/order. Routes by payment_method: card/ach -> Stripe PaymentIntent; cash/check/credit/terms -> manual record. Overpayment automatically creates a credit memo. Requires both orders:write AND payments:write scopes. R4: raw card credentials (card_number, cvc) are rejected. Idempotent via Idempotency-Key header.
Documentation Index
Fetch the complete documentation index at: https://docs.arcuserp.com/llms.txt
Use this file to discover all available pages before exploring further.
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.
Payment created
A customer-side payment applied to one or more orders. AR-facing.
payment Set when payment is applied to a single order; null for unapplied/on-account payments.
cash, check, ach, wire, credit_card, debit_card, store_credit, stripe, other Gross amount received (always positive).
Portion applied to orders so far.
Total refunded against this payment.
Check number, ACH trace, Stripe charge id, etc.
pending, succeeded, failed, refunded, partially_refunded, voided