Invoicing
Record an offline payment
POST
/invoices/{id}/paymentsScope
invoices:writeAuth Bearer keyIdempotentRecords money received outside the hosted checkout (cash, bank transfer you received directly, or another manual method). Omit amount to record the full outstanding balance. An amount above the balance is kept as customer credit, never dropped.
Path parameters
idstringrequiredHeaders
Idempotency-KeystringrequiredRetrying with the same key and payload replays the original response.
Responses
201Invoice with its updated payment history
Errors
Errors use RFC 9457 problem details. Branch on code, and log request_id.
400Bad request401Unauthenticated403Forbidden409Idempotency conflict422Validation error429Rate limitedcURL
curl -X POST "https://business.boundlesspay.com/api/public/v1/invoices/{id}/payments" \
-H "Authorization: Bearer $BOUNDLESS_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"