API explorer
Find an endpoint, check its fields and try a request.
/api/auth/v1/authenticateGet access token
Sign in with your bank-issued clientId and clientSecret
Sign in with the clientId and clientSecret issued by your bank. Use the returned accessToken for API requests and sign in again before it expires. There is no refresh token.
Replace the example values with the details supplied by your bank. Payment status and retries →
Try this request Configure connection and send →
cURL
Set COREWAVE_TOKEN in your shell. The token is excluded from this preview.
curl --request POST 'https://api.staging.ibanks.corewavecba.com/api/auth/v1/authenticate' \
--header 'request-reference: UNIQUE_REFERENCE' \
--header 'Content-Type: application/json' \
--data-raw '{
"clientId": "YOUR_CLIENT_ID",
"clientSecret": "YOUR_CLIENT_SECRET"
}'Request fields
Required fields are marked below. Check the endpoint description for any fields required by the bank or by your chosen options.
Example URL: /api/auth/v1/authenticate. Replace the sample identifiers with your bank's values before sending.
| Field | Location | Type | Required | Constraints |
|---|---|---|---|---|
request-reference | header | string | Optional | max length 100 · Unique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations. |
clientId | body | string | Required | min length 0 · max length 100 |
clientSecret | body | string | Required | min length 0 · max length 100 |
Example request
Replace the example values before sending a request.
{
"clientId": "YOUR_CLIENT_ID",
"clientSecret": "YOUR_CLIENT_SECRET"
}Full body schema, including nested fields
{
"required": [
"clientId",
"clientSecret"
],
"type": "object",
"properties": {
"clientId": {
"maxLength": 100,
"minLength": 0,
"type": "string"
},
"clientSecret": {
"maxLength": 100,
"minLength": 0,
"type": "string"
}
},
"additionalProperties": false
}Responses
Sign in again before the returned token expires. Open a status below to see the response fields, examples and content types.
200 application/json
Signed in successfully. Send accessToken in the Authorization header as a Bearer token. Sign in again before expirationTime, which is a Unix timestamp in seconds.
application/json
Example response
{
"accessToken": "YOUR_ACCESS_TOKEN",
"tokenType": "Bearer",
"expirationTime": 1793723072,
"tokenValiditySec": 3600
}| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
accessToken | response | string | Required | — |
tokenType | response | string | Required | values: Bearer |
expirationTime | response | integer | Required | int64 |
tokenValiditySec | response | integer | Required | int64 |
View full JSON schema
{
"required": [
"accessToken",
"tokenType",
"expirationTime",
"tokenValiditySec"
],
"type": "object",
"properties": {
"accessToken": {
"type": "string"
},
"tokenType": {
"enum": [
"Bearer"
],
"type": "string"
},
"expirationTime": {
"type": "integer",
"format": "int64"
},
"tokenValiditySec": {
"type": "integer",
"format": "int64"
}
},
"additionalProperties": false
}400 application/json, application/problem+json
The request has invalid or missing fields, or the bank cannot accept it. Read the error message for details.
application/json
Variant 1
| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
message | response | string | Required | — |
status | response | boolean | Optional | — |
reason | response | string · nullable | Optional | — |
nextStep | response | string · nullable | Optional | — |
summary | response | object | Optional | — |
errors | response | array | Optional | — |
errors item fields
string
Variant 2
| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
message | response | string | Required | — |
status | response | boolean | Optional | — |
reason | response | string · nullable | Optional | — |
nextStep | response | string · nullable | Optional | — |
summary | response | object | Optional | — |
errors | response | array | Optional | — |
errors item fields
string
View full JSON schema
{
"anyOf": [
{
"required": [
"message"
],
"type": "object",
"properties": {
"message": {
"type": "string"
},
"status": {
"type": "boolean"
},
"reason": {
"type": "string",
"nullable": true
},
"nextStep": {
"type": "string",
"nullable": true
},
"summary": {
"type": "object"
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
{
"required": [
"message"
],
"type": "object",
"properties": {
"message": {
"type": "string"
},
"status": {
"type": "boolean"
},
"reason": {
"type": "string",
"nullable": true
},
"nextStep": {
"type": "string",
"nullable": true
},
"summary": {
"type": "object"
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
]
}application/problem+json
| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
type | response | string | Optional | — |
title | response | string | Optional | — |
status | response | integer | Optional | — |
traceId | response | string | Optional | — |
errors | response | object | Optional | — |
View full JSON schema
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "integer"
},
"traceId": {
"type": "string"
},
"errors": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}401 application/json
Credentials are missing or expired, or the API key is inactive.. The response body may be empty. Check the HTTP status before parsing JSON.
application/json
Example response
{
"message": "Invalid client credentials.",
"status": false,
"reason": "Authenticate request failed: Invalid client credentials.",
"nextStep": "Correct the highlighted input and submit again.",
"summary": {
"outcome": "Failed",
"module": "Authenticate",
"controller": "Authenticate",
"endpointAction": "Authenticate",
"httpMethod": "POST",
"endpoint": "/api/auth/v1/authenticate"
},
"errors": [
"Invalid client credentials."
]
}Variant 1
Variant 1
| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
message | response | string | Required | — |
status | response | boolean | Optional | — |
reason | response | string · nullable | Optional | — |
nextStep | response | string · nullable | Optional | — |
summary | response | object | Optional | — |
errors | response | array | Optional | — |
errors item fields
string
Variant 2
| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
message | response | string | Required | — |
status | response | boolean | Optional | — |
reason | response | string · nullable | Optional | — |
nextStep | response | string · nullable | Optional | — |
summary | response | object | Optional | — |
errors | response | array | Optional | — |
errors item fields
string
Variant 2
| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
status | response | boolean | Required | values: false |
message | response | string | Required | — |
View full JSON schema
{
"anyOf": [
{
"anyOf": [
{
"required": [
"message"
],
"type": "object",
"properties": {
"message": {
"type": "string"
},
"status": {
"type": "boolean"
},
"reason": {
"type": "string",
"nullable": true
},
"nextStep": {
"type": "string",
"nullable": true
},
"summary": {
"type": "object"
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
{
"required": [
"message"
],
"type": "object",
"properties": {
"message": {
"type": "string"
},
"status": {
"type": "boolean"
},
"reason": {
"type": "string",
"nullable": true
},
"nextStep": {
"type": "string",
"nullable": true
},
"summary": {
"type": "object"
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
]
},
{
"required": [
"status",
"message"
],
"type": "object",
"properties": {
"status": {
"enum": [
false
],
"type": "boolean"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
]
}403 application/json
These credentials do not allow access to this API.. The response body may be empty. Check the HTTP status before parsing JSON.
application/json
| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
status | response | boolean | Optional | — |
message | response | string | Optional | — |
code | response | string | Optional | — |
View full JSON schema
{
"type": "object",
"properties": {
"status": {
"type": "boolean"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
}
}
}404 application/json
The requested record was not found at your bank.
application/json
| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
status | response | boolean | Optional | — |
message | response | string | Optional | — |
code | response | string | Optional | — |
View full JSON schema
{
"type": "object",
"properties": {
"status": {
"type": "boolean"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
}
}
}415 application/json, application/problem+json
The server rejected the request before it could be completed.
application/json
| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
status | response | boolean | Optional | — |
message | response | string | Optional | — |
code | response | string | Optional | — |
View full JSON schema
{
"type": "object",
"properties": {
"status": {
"type": "boolean"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
}
}
}application/problem+json
Example response
{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.16",
"title": "Unsupported Media Type",
"status": 415,
"traceId": "00-a9246278e75000ea3702735ab01eaaba-7cba0476fc93aef9-00"
}| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
type | response | string | Optional | — |
title | response | string | Optional | — |
status | response | integer | Optional | — |
traceId | response | string | Optional | — |
errors | response | object | Optional | — |
View full JSON schema
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "integer"
},
"traceId": {
"type": "string"
},
"errors": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}429 application/json
Too many requests. Wait for the number of seconds in Retry-After before trying again.
application/json
| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
code | response | string | Required | values: RATE_LIMIT_EXCEEDED |
message | response | string | Required | — |
retryAfterSeconds | response | integer | Required | — |
View full JSON schema
{
"required": [
"code",
"message",
"retryAfterSeconds"
],
"type": "object",
"properties": {
"code": {
"enum": [
"RATE_LIMIT_EXCEEDED"
],
"type": "string"
},
"message": {
"type": "string"
},
"retryAfterSeconds": {
"type": "integer"
}
}
}500 application/json
The server could not finish the request. If it was a payment, check its status before sending it again.. The response body may be empty. Check the HTTP status before parsing JSON.
application/json
| Field | Location | Type | Presence | Details |
|---|---|---|---|---|
status | response | boolean | Optional | — |
message | response | string | Optional | — |
code | response | string | Optional | — |
View full JSON schema
{
"type": "object",
"properties": {
"status": {
"type": "boolean"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
}
}
}