Skip to main content
COREWAVE / DEVELOPERS

API explorer

Find an endpoint, check its fields and try a request.

POST/api/auth/v1/authenticate

Get 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 →
Credentials stay in this page’s memory.

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.

FieldLocationTypeRequiredConstraints
request-referenceheaderstringOptionalmax length 100 · Unique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations.
clientIdbodystringRequiredmin length 0 · max length 100
clientSecretbodystringRequiredmin 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
}
FieldLocationTypePresenceDetails
accessTokenresponsestringRequired—
tokenTyperesponsestringRequiredvalues: Bearer
expirationTimeresponseintegerRequiredint64
tokenValiditySecresponseintegerRequiredint64
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
FieldLocationTypePresenceDetails
messageresponsestringRequired—
statusresponsebooleanOptional—
reasonresponsestring · nullableOptional—
nextStepresponsestring · nullableOptional—
summaryresponseobjectOptional—
errorsresponsearrayOptional—
errors item fields

string

Variant 2
FieldLocationTypePresenceDetails
messageresponsestringRequired—
statusresponsebooleanOptional—
reasonresponsestring · nullableOptional—
nextStepresponsestring · nullableOptional—
summaryresponseobjectOptional—
errorsresponsearrayOptional—
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

FieldLocationTypePresenceDetails
typeresponsestringOptional—
titleresponsestringOptional—
statusresponseintegerOptional—
traceIdresponsestringOptional—
errorsresponseobjectOptional—
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
FieldLocationTypePresenceDetails
messageresponsestringRequired—
statusresponsebooleanOptional—
reasonresponsestring · nullableOptional—
nextStepresponsestring · nullableOptional—
summaryresponseobjectOptional—
errorsresponsearrayOptional—
errors item fields

string

Variant 2
FieldLocationTypePresenceDetails
messageresponsestringRequired—
statusresponsebooleanOptional—
reasonresponsestring · nullableOptional—
nextStepresponsestring · nullableOptional—
summaryresponseobjectOptional—
errorsresponsearrayOptional—
errors item fields

string

Variant 2
FieldLocationTypePresenceDetails
statusresponsebooleanRequiredvalues: false
messageresponsestringRequired—
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

FieldLocationTypePresenceDetails
statusresponsebooleanOptional—
messageresponsestringOptional—
coderesponsestringOptional—
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

FieldLocationTypePresenceDetails
statusresponsebooleanOptional—
messageresponsestringOptional—
coderesponsestringOptional—
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

FieldLocationTypePresenceDetails
statusresponsebooleanOptional—
messageresponsestringOptional—
coderesponsestringOptional—
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"
}
FieldLocationTypePresenceDetails
typeresponsestringOptional—
titleresponsestringOptional—
statusresponseintegerOptional—
traceIdresponsestringOptional—
errorsresponseobjectOptional—
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

FieldLocationTypePresenceDetails
coderesponsestringRequiredvalues: RATE_LIMIT_EXCEEDED
messageresponsestringRequired—
retryAfterSecondsresponseintegerRequired—
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

FieldLocationTypePresenceDetails
statusresponsebooleanOptional—
messageresponsestringOptional—
coderesponsestringOptional—
View full JSON schema
{
  "type": "object",
  "properties": {
    "status": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  }
}