Skip to main content
Register this webhook URL in the Zeno Bank Dashboard:
https://<yourdomain.com>/_functions/updateZenoBankTransaction
Example: https://zenobank.io/_functions/updateZenoBankTransaction

This is the code you need to copy:
zeno-bank-config.js
import * as paymentProvider from 'interfaces-psp-v1-payment-service-provider';

// ─────────────────────────────────────────────────────────────
// CUSTOMIZE HERE (optional)
// Edit these values to change how your payment method appears
// on the dashboard and at checkout.
// ─────────────────────────────────────────────────────────────
const PAYMENT_METHOD_TITLE = 'Pay with Crypto';

const LOGOS = {
  white: {
    svg: 'https://cryptologos.zenobank.io/library/tether-icon-dark.svg',
    png: 'https://cryptologos.zenobank.io/library/tether-icon-dark.png',
  },
  colored: {
    svg: 'https://cryptologos.zenobank.io/library/tether-icon-light.png',
    png: 'https://cryptologos.zenobank.io/library/tether-icon-light.svg',
  },
};
// ─────────────────────────────────────────────────────────────

/** @returns {import('interfaces-psp-v1-payment-service-provider').PaymentServiceProviderConfig} */
export function getConfig() {
  return {
    title: 'Zeno Bank',
    paymentMethods: [{
      hostedPage: {
        title: PAYMENT_METHOD_TITLE,
        billingAddressMandatoryFields: [],
        logos: LOGOS,
      },
    }],
    credentialsFields: [
      {
        simpleField: { name: 'apiKey', label: 'Zeno API Key' },
      },
      {
        simpleField: { name: 'webhookSecret', label: 'Webhook Signing Secret (whsec_...)' },
      },
    ],
  };
}