Kit MarketplaceSign in with GitHub

Payments in

Reviewed

Adds a row to Payments for each payment another app posts to its address.

by Kit · ships with KitVersion 1.0.0Runs inside Kit, in a sandbox
Add to Kit
  1. In Kit, open Plugins, then Add another way › A code plugin’s link or file.
  2. Paste this link. Kit shows what it may do before anything changes.
A Payments table filling with customers, amounts and currencies sent by another app.
A Payments table filling with customers, amounts and currencies sent by another app.

Every payment your payments app makes becomes a row in Kit, as it happens.

What it does

The plugin gets an address of its own. Your payments app (Stripe, Razorpay, a shop, a form) sends each payment there, and a row appears in Payments with the customer, the amount and the currency.

How to use it

  1. Add it with A new “Payments” database ticked, or to a Payments database you have, with Customer, Amount and Currency.
  2. Under Its address, press Copy, and paste the address where your other app asks for a webhook URL.
  3. Press Send a test to see a row arrive before any real payment does.

What it expects

{ "customer": "Meera Shah", "amount": 4900, "currency": "eur" }

The amount is in cents: 4900 is 49.00 EUR.

Good to know

  • Keep the address private: anyone with it can add payments. Make a new address stops the old one at once.
  • Anything that isn't a payment is refused, and your other app is told, so it can send it again.
Its code13 lines, exactly as Kit runs it · fingerprint b5f42022516a
// Point the other app's webhook at this plugin's address (on its page in Plugins).
// Expects JSON like { "customer": "Meera Shah", "amount": 4900, "currency": "eur" }.
plugin.onRequest = (message) => {
  const paid = message.body;
  if (!paid || typeof paid.amount !== 'number') throw new Error('Not a payment: ' + message.text.slice(0, 80));
  kit.add('Payments', {
    Customer: String(paid.customer || 'Someone'),
    Amount: paid.amount / 100,
    Currency: String(paid.currency || '').toUpperCase(),
  });
  return 'Added';
};

Versions

  1. 1.0.0Listed nowNov 19, 2026