Skip to main content
POST
Create payment

Authorizations

x-api-key
string
header
required

Body

application/json
vendor_id
string<uuid>
required

A vendor of the calling company, whose account named in to_bank_account_id receives the payment.

amount
number
required

Amount in US dollars, at least 0.01 and to at most two decimal places. A more precise amount is refused rather than rounded, so that the payment sent matches the amount asked for.

Required range: x >= 0.01
idempotency_key
string
required

Caller-chosen key that makes a retry of this request safe.

Minimum string length: 1
memo
string
required

Description carried on the payment and shown under Transactions in the Every dashboard. It is also the description the bank puts on the ACH transfer, which is why it cannot be blank.

Required string length: 1 - 50
to_bank_account_id
string<uuid>
required

The vendor's bank account to pay into, from GET /v1/vendors/{vendorId}/bank-accounts. It must belong to the vendor named in vendor_id.

every_category_id
string<uuid>
required

What the payment is for, from GET /v1/every-categories.

every_department_id
string<uuid>
required

Which department the payment is for, from GET /v1/every-departments.

Response

The payment, awaiting approval

id
string<uuid>
required
status
enum<string>
required

pending — created, waiting on its approval. processing — approved and on its way to the bank. completed — the money has moved. failed — it will not move; see failure_reason. returned — the money moved and the receiving bank sent it back; see failure_reason.

Available options:
pending,
processing,
completed,
failed,
returned
vendor_id
string<uuid>
required
amount
string
required
memo
string
required
every_category_id
string<uuid>
required
every_department_id
string<uuid>
required
from_every_account_id
string<uuid>

The calling company's Every account the payment is drawn from — its default one.

to_bank_account_id
string<uuid>

The vendor's bank account the payment is paid into.

approval
object

The approval the payment is waiting on before it is sent.