Payments
13 operations. All areas
- GET /v1/online-payments/settings
- POST /v1/online-payments/settings
- POST /v1/online-payments/onboarding
- POST /v1/online-payments/sync
- GET /v1/documents/{id}/pay-link
- POST /v1/documents/{id}/pay-link
- POST /v1/documents/{id}/pay-link/revoke
- POST /v1/documents/{id}/pay-link/send
- GET /v1/online-payments
- GET /v1/online-payments/charges/{id}
- POST /v1/online-payments/charges/{id}/refund
- GET /v1/online-payments/payouts
- GET /v1/online-payments/payouts/{id}
GET/v1/online-payments/settings
The payments add-on: whether online payments are on, Stripe's status for the company's account (requirements due, charges and payouts enabled), payment methods, the accounts payments post to and what Stripe holds per the books
- Operation
getPaymentsSettings - Scope: read
- Read
- Responses
200Settings (object)- Errors
400,401,403,409,429,500,503(Error:error.type,message)
POST/v1/online-payments/settings
Switch online payments on or off; accept cards and/or bank payments (ACH); allow part payments on new pay links; choose the clearing, fees, refunds and chargebacks accounts (created when first switched on unless given) and the bank account payouts arrive in. The company's own owner or CPA, signed in (agents, AI apps and firm members refused). Not an MCP tool.
- Operation
updatePaymentsSettings - Scope: admin
- Write: sets a value, no Idempotency-Key needed
- Request body
enabledbooleanaccept_cardbooleanaccept_achbooleanaccept_stablecoinbooleanallow_partialbooleanclearing_accountstringfees_accountstringrefunds_accountstringchargebacks_accountstringpayout_bank_account_idstring | null
- Responses
200Settings (object)- Errors
400,401,403,409,422,429,500,503(Error:error.type,message)
POST/v1/online-payments/onboarding
Set up payments: makes the company's own Stripe account (once) and returns Stripe's hosted onboarding page, where the business gives Stripe its identity and bank details (Evenbead never sees them). The company's own owner or CPA, signed in (agents, AI apps and firm members refused). Not an MCP tool.
- Operation
startPaymentsOnboarding - Scope: admin
- Write: sets a value, no Idempotency-Key needed
- Request body
Empty object
{}.- Responses
200Send the person's browser to url (single use, a few minutes) (object)- Errors
400,401,403,409,422,429,500,503(Error:error.type,message)
POST/v1/online-payments/sync
Read the company's Stripe account state now (after onboarding). The company's own owner or CPA, signed in (agents, AI apps and firm members refused). Not an MCP tool.
- Operation
syncPayments - Scope: admin
- Write: sets a value, no Idempotency-Key needed
- Request body
Empty object
{}.- Responses
200Settings (object)- Errors
400,401,403,409,422,429,500,503(Error:error.type,message)
GET/v1/documents/{id}/pay-link
An invoice's pay link (null when none is active) and the online payments made on it
- Operation
getPayLink - Scope: read
- Read
- Parameters
idpath, string, required
- Responses
200The link (object)- Errors
400,401,403,404,409,429,500,503(Error:error.type,message)
POST/v1/documents/{id}/pay-link
Make (or return) an invoice's pay link: a public page at pay.evenbead.com where the customer pays by card or bank, surcharge-free. One active link per invoice; rotate: true revokes it and makes a new URL. The link works while online payments are on.
- Operation
createPayLink - Scope: propose
- Write: needs Idempotency-Key (or dry_run)
- Parameters
idpath, string, required
- Request body
allow_partialboolean Default: the company's settingmin_partial_centsintegerrotatebooleanreasonstring Why the old link is revoked (rotate)dry_runboolean
- Responses
200The active link (or the dry run) (object)201Created (object)- Errors
400,401,403,404,409,422,429,500,503(Error:error.type,message)
POST/v1/documents/{id}/pay-link/revoke
Turn an invoice's pay link off: the page then says the link was turned off. The company's own owner or CPA, signed in (agents, AI apps and firm members refused). Not an MCP tool.
- Operation
revokePayLink - Scope: approve
- Write: needs Idempotency-Key (or dry_run)
- Parameters
idpath, string, required
- Request body
reasonstring, required
- Responses
200Revoked (object)- Errors
400,401,403,404,409,422,429,500,503(Error:error.type,message)
POST/v1/documents/{id}/pay-link/send
Email the invoice to the customer with its pay link (made if there is none) and the PDF: the same send as emailDocument, with the same approval rules for agents
- Operation
sendPayLink - Scope: propose
- Write: needs Idempotency-Key (or dry_run)
- Parameters
idpath, string, required
- Request body
tostringto_namestringccarray of stringsubjectstringmessagestringdry_runboolean
- Responses
200Dry run201Queued (or waiting for approval) (object)- Errors
400,401,403,404,409,422,429,500,503(Error:error.type,message)
GET/v1/online-payments
Payments customers made online (card and bank), newest first: status, fees, refunds, disputes and whether each is in the books
- Operation
listOnlinePayments - Scope: read
- Read
- Parameters
document_idquery, stringstatusquery, "pending" | "succeeded" | "failed"limitquery, integer
- Responses
200Payments (object)- Errors
400,401,403,409,429,500,503(Error:error.type,message)
GET/v1/online-payments/charges/{id}
One online payment: its refunds, disputes and every Stripe balance transaction with what it became in the books
- Operation
getOnlinePayment - Scope: read
- Read
- Parameters
idpath, string, required
- Responses
200The payment (object)- Errors
400,401,403,404,409,429,500,503(Error:error.type,message)
POST/v1/online-payments/charges/{id}/refund
Refund all or part of an online payment to the customer's card or bank (our 0.3% goes back in proportion; Stripe keeps its fee). Books: a credit memo to the refunds account and a refund out of the clearing account, posted when Stripe confirms. dry_run shows exactly that. The company's own owner or CPA, signed in (agents, AI apps and firm members refused). Not an MCP tool.
- Operation
refundOnlinePayment - Scope: approve
- Write: needs Idempotency-Key (or dry_run)
- Parameters
idpath, string, required
- Request body
amount_centsintegerreasonstring, requireddry_runboolean
- Responses
200Dry run201Asked of Stripe (object)- Errors
400,401,403,404,409,422,429,500,503(Error:error.type,message)
GET/v1/online-payments/payouts
Payouts from Stripe to the company's bank, newest first, with the bank line each was matched to
- Operation
listPayouts - Scope: read
- Read
- Parameters
limitquery, integer
- Responses
200Payouts (object)- Errors
400,401,403,409,429,500,503(Error:error.type,message)
GET/v1/online-payments/payouts/{id}
One payout's reconciliation: the payments, fees, refunds and disputes it carried, whether they add up to the deposit, and the bank line it matched
- Operation
getPayout - Scope: read
- Read
- Parameters
idpath, string, requiredformatquery, "json" | "csv"
- Responses
200The payout (object)- Errors
400,401,403,404,409,429,500,503(Error:error.type,message)