Node and TypeScript
npm i @montra/node
Quote, lock a rate and pay out in 38 corridors from your own product. The same rails, checks and rates as the Montra app, with webhooks for every state change.
import Montra from "@montra/node";
const montra = new Montra(process.env.MONTRA_KEY);
const quote = await montra.quotes.create({
source_currency: "NGN", target_currency: "KES",
source_amount: 25_000_000, lock: "24h",
});
await montra.payouts.create({
quote: quote.id,
recipient: "rcp_8sK2mombasacold",
reference: "INV-2291",
}, { idempotencyKey: "inv-2291-1" });
import os
from montra import Montra
montra = Montra(os.environ["MONTRA_KEY"])
quote = montra.quotes.create(
source_currency="NGN", target_currency="KES",
source_amount=25_000_000, lock="24h",
)
montra.payouts.create(
quote=quote.id,
recipient="rcp_8sK2mombasacold",
reference="INV-2291",
idempotency_key="inv-2291-1",
)
curl https://api.montra.example/v1/payouts \
-H "Authorization: Bearer $MONTRA_KEY" \
-H "Idempotency-Key: inv-2291-1" \
-d quote=qt_91xq \
-d recipient=rcp_8sK2mombasacold \
-d reference=INV-2291
# 201 Created
{ "id": "po_3fK8", "status": "screening" }
Three calls take you from a new key to a settled payout in the sandbox.
Create a test workspace with funded balances in all seven currencies.
We verify the bank details and name before you ever send to them.
Lock a rate, create the payout and listen for payout.settled.
Resources you can learn in an hour, consistent errors, cursor pagination and versioned releases you opt into.
/v1/quotesPrice and lock a conversion/v1/payoutsSend a single payout/v1/payout_batchesSend up to 5,000 at once/v1/recipientsSave and verify a recipient/v1/balancesBalances in every currency/v1/ratesMid-market rates for 38 pairsKnow the moment a payout is screened, sent or settled, without polling. Every event is signed and retried for 72 hours.
payout.createdpayout.screenedpayout.sentpayout.settledpayout.returneddeposit.receivedquote.expired
npm i @montra/node
pip install montra
composer require montra/montra
go get montra.example/go
Open a Montra account online. Most businesses are verified within one working day and can pay their first supplier the next morning.