Skip to main content
All Docs
FeaturesPurple PepperUpdated April 6, 2026

AML Credits & Identity Checks

AML Credits & Identity Checks

The AML Credits system allows your organisation to purchase and manage credits used to run AML (Anti-Money Laundering) and KYC (Know Your Customer) identity checks via the Blinc-UK provider.


Dashboard

Navigate to Dashboard → AML Credits (/dashboard/aml) to:

  • View your current credit balance.
  • Monitor your Blinc-UK integration status (connected / not configured).
  • Browse your full paginated transaction history.
  • Purchase additional credit packs.

Purchasing Credits

Credits are purchased in packs through a hosted Calmony Pay checkout flow.

Available Packs

PackCreditsTotal PricePer Credit
Starter10£50.00£5.00
Standard25£112.50£4.50
Growth50£200.00£4.00
Enterprise100£350.00£3.50

Purchase Flow

  1. Click Purchase Credits on the AML Credits dashboard.
  2. Select a pack from the modal.
  3. You are redirected to the Calmony Pay hosted checkout.
  4. On successful payment, you are returned to the dashboard and credits are automatically added to your organisation's balance.
  5. A green confirmation banner confirms the purchase.

If the checkout is abandoned or cancelled, you are returned with a cancellation notice and no credits are deducted.


Transaction History

Every credit movement is recorded with a full audit trail. Use the type filter dropdown to narrow history by:

TypeDescription
purchaseCredits added via Calmony Pay checkout
consumption1 credit consumed per AML/KYC check initiated
refundCredit returned when a check is cancelled
adjustmentManual admin top-up or correction

The history table shows: type, credit amount (positive = credit, negative = debit), running balance after the transaction, description, and timestamp.


Running Identity Checks

Each AML/KYC identity check consumes 1 credit from your organisation's balance. A low-balance warning is shown when fewer than 5 credits remain.

Checks are dispatched via the Blinc-UK provider. The integration status indicator on the dashboard shows whether Blinc-UK is correctly configured.

Note: Credits can be purchased in advance even if the Blinc-UK integration is not yet configured.


Configuration

The following environment variables must be set to enable full AML functionality:

VariableRequired for
CALMONY_PAY_SECRET_KEYCredit pack purchases via hosted checkout
BLINC_UK_API_KEYDispatching AML/KYC identity checks
BLINC_UK_API_URLBlinc-UK API base URL
BLINC_UK_WEBHOOK_SECRETVerifying Blinc-UK webhook callbacks

If BLINC_UK_API_KEY is not set, the integration status will show Not configured and checks cannot be initiated, but credit purchases will still work.


tRPC API Reference

All AML procedures are available under the aml namespace via tRPC.

ProcedureTypeDescription
aml.getBalanceQueryReturns the current credit balance for the authenticated organisation
aml.creditHistoryQueryPaginated transaction ledger; accepts optional type, cursor, limit
aml.getCreditPacksQueryReturns available credit packs with pricing
aml.purchaseCreditsMutationCreates a Calmony Pay checkout session for a given packId
aml.fulfilPurchaseMutationAdds credits after successful payment; called automatically on checkout return
aml.addCreditsMutationAdmin: manually add credits with a description
aml.initiateCheckMutationConsumes 1 credit and dispatches an AML check via Blinc-UK
aml.cancelCheckMutationCancels a check and refunds 1 credit
aml.integrationStatusQueryReturns Blinc-UK configuration status and provider name