Skip to main content
DELETE
/
v1
/
companies
/
me
/
bank-accounts
/
{id}
Soft delete bank account
curl --request DELETE \
  --url https://api-sandbox.rinne.com.br/core/v1/companies/me/bank-accounts/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": "507f1f77bcf86cd799439011",
  "company_id": "507f1f77bcf86cd799439012",
  "account_holder_name": "John Doe Silva",
  "account_holder_document_number": "12345678901",
  "branch_number": "0001",
  "account_number": "12345678",
  "account_type": "CHECKING",
  "ispb": "12345678",
  "status": "ACTIVE",
  "deleted_at": null,
  "primary": false,
  "created_at": "2025-01-01T10:00:00.000Z",
  "updated_at": "2025-01-01T10:00:00.000Z"
}

Authorizations

x-api-key
string
header
required

Company API key for authentication

Path Parameters

id
string
required

The bank account ID

Response

Bank account soft deleted successfully

Company bank account response

id
string<uuid>
required

Bank account ID

Example:

"507f1f77bcf86cd799439011"

company_id
string<uuid>
required

Company ID

Example:

"507f1f77bcf86cd799439012"

account_holder_name
string
required

Account holder full name

Example:

"John Doe Silva"

account_holder_document_number
string
required

Account holder document number

Example:

"12345678901"

branch_number
string
required

Branch number

Example:

"0001"

account_number
string
required

Account number

Example:

"12345678"

account_type
enum<string>
required

Account type

Available options:
CHECKING,
SAVINGS,
SALARY,
PAYMENT
Example:

"CHECKING"

ispb
string
required

ISPB (Brazilian Payment System Identifier)

Example:

"12345678"

status
enum<string>
required

Account status

Available options:
ACTIVE,
DELETED
Example:

"ACTIVE"

deleted_at
string<date-time> | null
required

Deletion timestamp (null if not deleted)

Example:

null

primary
boolean
required

Whether this is the primary bank account

Example:

false

created_at
string<date-time>
required

Creation timestamp

Example:

"2025-01-01T10:00:00.000Z"

updated_at
string<date-time>
required

Last update timestamp

Example:

"2025-01-01T10:00:00.000Z"