Skip to content

API reference

Eight endpoints. One page each, so you can link a colleague to the exact one rather than to a heading two thirds of the way down something longer.

MethodPathDoes
POST/v1/partners/paymentsCreate a payment — give a customer something to pay with
GET/v1/partners/paymentsList payments — the reconciliation endpoint
GET/v1/partners/payments/{id}One payment, current status
POST/v1/partners/quotesWhat a payment would cost, without creating one
GET/v1/partners/balanceWhat you can pay out right now
POST/v1/partners/payoutsMove your balance to a bank account
GET/v1/partners/payoutsList payouts
GET/v1/partners/payouts/{id}One payout, current status
PropertyValue
Base URLhttps://api-stg.moriafund.com/v1/partners (staging) · https://api.moriafund.com/v1/partners (production) — see Environments
AuthAuthorization: Bearer <api_key> and x-partner-signatureboth, every call
Content-Typeapplication/json
Success{ "data": …, "request_id": "…" }
Failure{ "error": { "code", "message" }, "request_id": "…" } — see Errors

The two money-moving endpoints — create a payment, request a payout — additionally require X-Idempotency-Key. That header is the difference between a safe retry and a second charge, and it has its own page.

Amounts are strings in both directions. You send "100000"; we answer "100000.0000". A JSON number is an IEEE-754 double and money must not pass through one.