- Omni
- Contact APIs
- NameSpace
- Address
- Bank
- Props
- Relation
- Contact
Retrieve
Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
GET
/contacts/banks/{contact_bank_id}/
Last modified:2025-04-02 08:25:57
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
contact_bank_id
string
required
Example:
{{contact_bank_id}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://preprod.api.crego.io/contacts/banks/{{contact_bank_id}}/'
Responses
🟢200Success
application/json
Body
contact_id
string
required
ifsc
string
optional
Match pattern:
^[A-Za-z]{4}[0-9]{7}$
account_no
string
optional
Match pattern:
^[0-9]{9,18}$
account_holder_name
string
optional
>= 1 characters<= 100 characters
Match pattern:
^[a-zA-Z\s.\-'&()]{1,100}$
bank_name
string
optional
>= 1 characters<= 100 characters
Match pattern:
^[a-zA-Z0-9\s,.\-'&()]{1,100}$
branch_name
string
optional
>= 1 characters<= 100 characters
Match pattern:
^[a-zA-Z0-9\s,.\-'&()]{1,100}$
tags
array[string]
optional
account_type
enum<string>
optional
Allowed values:
savingscurrentjointbusiness
id
string
optional
>= 8 characters<= 40 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
created_at
string <date-time>
optional
created_by
string
optional
<= 100 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
updated_at
string <date-time>
optional
updated_by
string | null
optional
<= 100 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
tenant_id
string
optional
<= 40 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
Example
{"id":"01JMHMF5R3PPZDV8MB25PXKARZ","tenant_id":"59ecf94e-054d-43ee-83db-b158ab9d7f67","created_by":"cffe818a-5003-4116-9104-069f7e062bb4","updated_by":"","created_at":"2025-02-20T17:44:09.218207Z","updated_at":"2025-02-20T17:44:09.218207Z","account_type":"savings","ifsc":"UBIN0568627","account_no":"686202010000080","account_holder_name":"Karan Kumar","bank_name":"Union Bank of India","branch_name":"Chennai","tags":null,"contact":"01JMHF8CDTD8Z5KAMYXEZEQGHX"}