Kushki Pricing demo
Connecting…
Connecting to services…

Follow one payment

Start with a sale. Look up its price, inspect the parameters, then run Numscript to record the allocation.

1

Payment event

Choose the merchant and gross amount. This example is a Mexican Visa payment in MXN.

Event ID, time and failure cases

Blank time means now. To test insufficient funds, reserve more than the merchant has available. The reserve uses a separate balance-checking template.

2

Pull the merchant’s price

Read the price effective at the event time from the shared etcd price book. This step only retrieves the price.

Review the price here, then build the parameters in step 3.

3

Build the Numscript parameters

Combine the event with the price from step 2. MXN amounts are passed as integer cents.

4

Run Numscript in Ledger

Ledger receives the saved parameters and executes the template. No transaction is posted until you run it.

5

View recorded transaction

Run Numscript in step 4, then retrieve its recorded transaction here.