Skip to main content

Iban API

Usage​

import { epilot } from '@epilot/sdk'

epilot.authorize(() => '<token>')
const { data } = await epilot.iban.validateIban(...)

Tree-shakeable import​

import { getClient, authorize } from '@epilot/sdk/iban'

const ibanClient = getClient()
authorize(ibanClient, () => '<token>')
const { data } = await ibanClient.validateIban(...)

Operations​

Ibans

Schemas

validateIban​

Validate an Iban

POST /v1/public/iban:validate

const { data } = await client.validateIban(
null,
{
iban: 'string'
},
)

Schemas​

Error​

Error

type Error = {
status?: string
error?: string
}