Banking
5 routes. Paths are relative to https://api.intersink.com/v1.
- GET/bankingFetch All Personal Banking
- POST/bankingCreate Banking for Business
- GET/banking/{businessId}Fetch All Banking for Business
- POST/banking/delete/{id}Delete Banking for Business
- POST/banking/update/{id}Update Banking for Business
Fetch All Personal Banking
GET/banking
Needs a signed-in user (Bearer token or access_token cookie).
Response
200. The payload in data is not described in the spec yet. Personal Banking list fetched successfully
Create Banking for Business
POST/banking
Needs a signed-in user (Bearer token or access_token cookie).
Request body application/json
| Field | Type | Description |
|---|---|---|
| business_id | string | Example: "uuid-of-business" |
| bank_name | string | |
| holder_name | string | |
| account_no | string | |
| ifsc | string | |
| type | string | |
| description | string | |
| phone | string | |
| string | ||
| upi | string | |
| swift | string | |
| sort_code | string | |
| routing_no | string | |
| country | object |
Response
201. The payload in data is not described in the spec yet. Banking created successfully
Fetch All Banking for Business
GET/banking/{businessId}
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| businessIdrequired | string, path |
Response
200. The payload in data is not described in the spec yet. Banking list fetched successfully
Delete Banking for Business
POST/banking/delete/{id}
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string, path |
Response
200. The payload in data is not described in the spec yet. Banking deleted successfully
Update Banking for Business
POST/banking/update/{id}
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string, path |
Request body application/json
| Field | Type | Description |
|---|---|---|
| bank_namerequired | string | Example: "HDFC Bank" |
| holder_namerequired | string | Example: "John Doe" |
| account_norequired | string | Example: "50100234567890" |
| ifscrequired | string | Example: "HDFC0001234" |
| swift | string | Example: "SWIFT123" |
| upi | string | Example: "john@upi" |
| type | string | Example: "savings" |
| description | string | Example: "Business primary account" |
| phone | string | Example: "+919876543210" |
| string | Example: "[email protected]" | |
| sort_code | string | Example: "123456" |
| routing_no | string | Example: "123456789" |
| country | object | Example: 3 |
| business_idrequired | string | Example: "uuid-of-business" |
Response
200. The payload in data is not described in the spec yet. Banking updated successfully