Skip to content

Payment Gateway

Collect money from your customers and pay it out to bank accounts — without holding a payment licence or integrating a provider yourself. Moria is the aggregator; you are the partner.

Written for the developers who integrate it and the operations people who run it. Actual endpoints, actual payloads, and the parts that are easy to get wrong.

Base URLReachableCredentials
Staginghttps://api-stg.moriafund.com/v1Publicly, from anywhereIssued by Moria, separate from production
Productionhttps://api.moriafund.com/v1PubliclyIssued by Moria

Staging runs the same build as production and the same partner API — the endpoints, the signature rules and the error codes on these pages all behave there.

The API

/v1/partners/* — what your server calls. API key plus signature. This is where money moves.

The console

What your people open in a browser. Email and password. Configure, search, reconcile. It cannot move money.

That the console cannot move money is deliberate. Payouts happen only through the API, with credentials on your server — so a browser session, however obtained, is never enough to take funds out.

PageWhy
1How it worksA payment and a payout end to end. The endpoints make sense afterwards
2AuthenticationKey plus signature. The most common integration failure lives here
3IdempotencyHow to retry safely. Getting it wrong charges a customer twice
4WebhooksHow you find out money arrived
5ErrorsThe error shape, and what is safe to retry
6The consoleFor your operations team

Then keep the API reference open while you build — one page per endpoint.

Amounts are strings, never numbers. "100000.00", not 100000.00. A JSON number is an IEEE-754 double, and money must not pass through one. Every amount we send is a string too.

pending is a normal answer, not an error. The customer has something to pay with and has not paid. Most payments spend most of their life here.

Fees are shown as one partner-facing figure. Every payment reports fee alongside gross and net. Moria keeps the provider/margin split internally for accounting and reconciliation; it is not part of the Partner Gateway contract.