POST
/
bankaccounts
/
{bankAccountId}
/
transactions
Create bank account transaction
curl --request POST \
  --url https://api.smokeball.com/bankaccounts/{bankAccountId}/transactions \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "matterId": "da4e7fd1-5394-4ca9-b1c6-e18c4e2bf262",
  "payorId": "<string>",
  "type": "Deposit",
  "amount": 102.65,
  "reference": "<string>",
  "reason": "<string>",
  "description": "<string>",
  "note": "<string>",
  "effectiveDate": "2023-11-07T05:31:56Z"
}'
{
  "id": "<string>",
  "href": "<string>",
  "relation": "<string>",
  "method": "GET"
}

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

bankAccountId
string
required

Body

matterId
string | null

Unique identifier of the associated matter.

Example:

"da4e7fd1-5394-4ca9-b1c6-e18c4e2bf262"

payorId
string | null

Unique identifier of the associated contact.

type
string | null

The type of the transaction.

Possible values: Deposit.

Example:

"Deposit"

amount
number

The amount of the transaction in dollars. Limited to 2 decimal places (cents).

Example:

102.65

reference
string | null

Reference for the transaction.

reason
string | null

Reason for the transaction.

description
string | null

Description of the transaction.

note
string | null

Note for the transaction (for internal use).

effectiveDate
string<date-time>

Date of the transaction.

Response

OK

id
string | null
href
string | null
relation
string | null
method
string | null
default:GET