Skip to content

TransactionsPaths

Defined in: src/transactions/types.gen.ts:2

/v2/accounts/card: object

Defined in: src/transactions/types.gen.ts:3

optional delete?: undefined

get: object

List card accounts

This endpoint lists all accounts of card type.

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional requestBody?: undefined

responses: object

200: object

Returns a list of card accounts.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object[]

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

optional post?: undefined

optional put?: undefined

optional trace?: undefined


/v2/accounts/card/primary/statements: object

Defined in: src/transactions/types.gen.ts:23

optional delete?: undefined

get: object

List primary card account statements.

This endpoint lists all finalized statements for the primary card account.

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: object

optional cursor?: string | null

optional limit?: number | null

optional requestBody?: undefined

responses: object

200: object

Returns a list of primary card account statements.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.items
Section titled “get.responses.200.content.application/json.items”

items: object[]

get.responses.200.content.application/json.next_cursor?
Section titled “get.responses.200.content.application/json.next_cursor?”

optional next_cursor?: string | null

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

optional post?: undefined

optional put?: undefined

optional trace?: undefined


/v2/accounts/cash: object

Defined in: src/transactions/types.gen.ts:43

optional delete?: undefined

get: object

List cash accounts

This endpoint lists all the existing cash accounts with their status.

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional requestBody?: undefined

responses: object

200: object

Returns a list of cash accounts.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.items
Section titled “get.responses.200.content.application/json.items”

items: object[]

get.responses.200.content.application/json.next_cursor?
Section titled “get.responses.200.content.application/json.next_cursor?”

optional next_cursor?: string | null

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

optional post?: undefined

optional put?: undefined

optional trace?: undefined


/v2/accounts/cash/{id}: object

Defined in: src/transactions/types.gen.ts:63

optional delete?: undefined

get: object

Get cash account by ID

This endpoint returns the cash account associated with the provided ID with its status.

parameters: object

optional cookie?: undefined

optional header?: undefined

path: object

id: string

optional query?: undefined

optional requestBody?: undefined

responses: object

200: object

Returns the cash account.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.account_number
Section titled “get.responses.200.content.application/json.account_number”

account_number: string

get.responses.200.content.application/json.available_balance
Section titled “get.responses.200.content.application/json.available_balance”

available_balance: object

get.responses.200.content.application/json.available_balance.amount
Section titled “get.responses.200.content.application/json.available_balance.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
get.responses.200.content.application/json.available_balance.currency
Section titled “get.responses.200.content.application/json.available_balance.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
get.responses.200.content.application/json.current_balance
Section titled “get.responses.200.content.application/json.current_balance”

current_balance: object

get.responses.200.content.application/json.current_balance.amount
Section titled “get.responses.200.content.application/json.current_balance.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
get.responses.200.content.application/json.current_balance.currency
Section titled “get.responses.200.content.application/json.current_balance.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
get.responses.200.content.application/json.id
Section titled “get.responses.200.content.application/json.id”

id: string

ID of the cash account

get.responses.200.content.application/json.name
Section titled “get.responses.200.content.application/json.name”

name: string

get.responses.200.content.application/json.primary
Section titled “get.responses.200.content.application/json.primary”

primary: boolean

Whether or not this account is the primary account. There will always be only one primary account.

get.responses.200.content.application/json.routing_number
Section titled “get.responses.200.content.application/json.routing_number”

routing_number: string

get.responses.200.content.application/json.status?
Section titled “get.responses.200.content.application/json.status?”

optional status?: "ACTIVE" | null

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

optional post?: undefined

optional put?: undefined

optional trace?: undefined


/v2/accounts/cash/{id}/statements: object

Defined in: src/transactions/types.gen.ts:83

optional delete?: undefined

get: object

List cash account statements.

This endpoint lists all finalized statements for the cash account by ID.

parameters: object

optional cookie?: undefined

optional header?: undefined

path: object

id: string

optional query?: object

optional cursor?: string | null

optional limit?: number | null

optional requestBody?: undefined

responses: object

200: object

Returns a list of cash account statements.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.items
Section titled “get.responses.200.content.application/json.items”

items: object[]

get.responses.200.content.application/json.next_cursor?
Section titled “get.responses.200.content.application/json.next_cursor?”

optional next_cursor?: string | null

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

optional post?: undefined

optional put?: undefined

optional trace?: undefined


/v2/accounts/cash/primary: object

Defined in: src/transactions/types.gen.ts:103

optional delete?: undefined

get: object

Get primary cash account

This endpoint returns the primary cash account with its status. There will always be only one primary account.

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional requestBody?: undefined

responses: object

200: object

Returns the primary cash account.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.account_number
Section titled “get.responses.200.content.application/json.account_number”

account_number: string

get.responses.200.content.application/json.available_balance
Section titled “get.responses.200.content.application/json.available_balance”

available_balance: object

get.responses.200.content.application/json.available_balance.amount
Section titled “get.responses.200.content.application/json.available_balance.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
get.responses.200.content.application/json.available_balance.currency
Section titled “get.responses.200.content.application/json.available_balance.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
get.responses.200.content.application/json.current_balance
Section titled “get.responses.200.content.application/json.current_balance”

current_balance: object

get.responses.200.content.application/json.current_balance.amount
Section titled “get.responses.200.content.application/json.current_balance.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
get.responses.200.content.application/json.current_balance.currency
Section titled “get.responses.200.content.application/json.current_balance.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
get.responses.200.content.application/json.id
Section titled “get.responses.200.content.application/json.id”

id: string

ID of the cash account

get.responses.200.content.application/json.name
Section titled “get.responses.200.content.application/json.name”

name: string

get.responses.200.content.application/json.primary
Section titled “get.responses.200.content.application/json.primary”

primary: boolean

Whether or not this account is the primary account. There will always be only one primary account.

get.responses.200.content.application/json.routing_number
Section titled “get.responses.200.content.application/json.routing_number”

routing_number: string

get.responses.200.content.application/json.status?
Section titled “get.responses.200.content.application/json.status?”

optional status?: "ACTIVE" | null

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

optional post?: undefined

optional put?: undefined

optional trace?: undefined


/v2/transactions/card/primary: object

Defined in: src/transactions/types.gen.ts:123

optional delete?: undefined

get: object

List transactions for all card accounts.

This endpoint lists all settled transactions for all card accounts. Regular users may only fetch their own “PURCHASE”,“REFUND” and “CHARGEBACK” settled transactions.

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: object

optional cursor?: string | null

optional expand[]?: string[] | null

optional limit?: number | null

optional posted_at_start?: string | null

Shows only transactions with a posted_at_date on or after this date-time. This parameter is the date-time notation as defined by RFC 3339, section 5.6

2022-12-12T23:59:59.999

optional user_ids?: string[] | null

optional requestBody?: undefined

responses: object

200: object

Returns a list of card transactions.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.items
Section titled “get.responses.200.content.application/json.items”

items: object[]

get.responses.200.content.application/json.next_cursor?
Section titled “get.responses.200.content.application/json.next_cursor?”

optional next_cursor?: string | null

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

optional post?: undefined

optional put?: undefined

optional trace?: undefined


/v2/transactions/cash/{id}: object

Defined in: src/transactions/types.gen.ts:144

optional delete?: undefined

get: object

List transactions for the selected cash account.

This endpoint lists all transactions for the cash account with the selected ID.

parameters: object

optional cookie?: undefined

optional header?: undefined

path: object

id: string

optional query?: object

optional cursor?: string | null

optional limit?: number | null

optional posted_at_start?: string | null

Shows only transactions with a posted_at_date on or after this date-time. This parameter is the date-time notation as defined by RFC 3339, section 5.6

2022-12-12T23:59:59.999

optional requestBody?: undefined

responses: object

200: object

Returns a list of cash transactions.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.items
Section titled “get.responses.200.content.application/json.items”

items: object[]

get.responses.200.content.application/json.next_cursor?
Section titled “get.responses.200.content.application/json.next_cursor?”

optional next_cursor?: string | null

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

optional post?: undefined

optional put?: undefined

optional trace?: undefined