Skip to main content
POST
Create an account

Authorizations

Authorization
string
header
default:easner_sk_test_…
required

A secret key, easner_sk_test_… or easner_sk_live_…, as Authorization: Bearer. Each key has one business, one mode and fixed scopes. Transfer routes also accept a transfer's easner_ta_… secret for the customer.

Body

application/json
currency
string
required

A 3 to 5 letter code, for example USD, EUR or USDC.

Required string length: 3 - 5
customer
string
required

A banking customer id (cus_) in this mode.

Response

The account.

A banking account (acct_). Amounts are in the account currency, in cents.

id
string
required
Pattern: ^acct_
currency
string
required
available
integer
required

Available cents.

pending
integer
required

Pending cents.

customer
string | null
required
livemode
boolean
required