The Bank object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
{
"id": "bank_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"bank_name": "bank_name_example",
"swift_number": "swift_number_example",
"website": "website_example",
"plaid_access_token": "plaid_access_token_example"
} /api/accounts/bank/{id} Retrieve a bank
Retrieves the details of an existing bank. Supply the unique bank ID that was returned from a previous request.
Path parameters
The identifier of the bank to retrieve.
Returns
Returns the bank object if a valid identifier was provided.
curl https://api.overplane.dev/api/accounts/bank/bank_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "bank_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"bank_name": "bank_name_example",
"swift_number": "swift_number_example",
"website": "website_example",
"plaid_access_token": "plaid_access_token_example"
} /api/accounts/bank List all banks
Returns a list of banks. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of bank objects.
curl https://api.overplane.dev/api/accounts/bank \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "bank_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"bank_name": "bank_name_example",
"swift_number": "swift_number_example",
"website": "website_example",
"plaid_access_token": "plaid_access_token_example"
}
],
"has_more": false,
"total": 1
} /api/accounts/bank Create a bank
Creates a new bank object.
Body parameters
Returns
Returns the newly created bank object if the call succeeded.
curl https://api.overplane.dev/api/accounts/bank \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"bank_name":"bank_name_example"}' {
"id": "bank_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"bank_name": "bank_name_example",
"swift_number": "swift_number_example",
"website": "website_example",
"plaid_access_token": "plaid_access_token_example"
} /api/accounts/bank/{id} Update a bank
Updates the specified bank by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the bank to update.
Body parameters
Returns
Returns the updated bank object.
curl https://api.overplane.dev/api/accounts/bank/bank_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"bank_name":"bank_name_example","swift_number":"swift_number_example"}' {
"id": "bank_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"bank_name": "bank_name_example",
"swift_number": "swift_number_example",
"website": "website_example",
"plaid_access_token": "plaid_access_token_example"
} /api/accounts/bank/{id} Delete a bank
Permanently deletes a bank. This cannot be undone.
Path parameters
The identifier of the bank to delete.
Returns
Returns a confirmation that the bank has been deleted.
curl https://api.overplane.dev/api/accounts/bank/bank_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "bank_abc123",
"deleted": true
} Line items
Child objects that belong to this bank. These are accessed via the parent's ID.
Bank Transaction Mapping
Attributes
Endpoints
/api/accounts/bank-transaction-mapping?parent_id={id} /api/accounts/bank-transaction-mapping /api/accounts/bank-transaction-mapping/{id} /api/accounts/bank-transaction-mapping/{id} /api/accounts/bank-transaction-mapping/reorder {
"id": "bank-transaction-mapping_abc123",
"idx": 1,
"bank_id": "bank_id_example",
"bank_transaction_field": "bank_transaction_field_example",
"file_field": "file_field_example"
}