Common
Constants
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
import { initialize, constants } from '@qonto/embed-sdk/common';
const { ENVIRONMENTS, LOCALES } = constants;
initialize({
environment: ENVIRONMENTS.STAGING,
locale: LOCALES.FR,
});
import { constants } from '@qonto/embed-sdk/common';
import { getSepaTransfer } from '@qonto/embed-sdk/sepa-transfers';
const { TRANSFER_STATUSES } = constants;
const transfer = await getSepaTransfer('transfer-id');
if (transfer.status === TRANSFER_STATUSES.PENDING) {
console.log('Transfer is pending');
}
Was this page helpful?