Overview
Overview
Morph Payments is a stablecoin payment API for merchants. You create a payment resource, share a checkout URL, and receive settled funds on-chain — across multiple chains and tokens — while Morph handles the payer-facing checkout, on-chain confirmation, and event notifications.
Every request is authenticated with an API Key over a single production gateway, and every response uses one common envelope so success and errors are handled the same way everywhere.
What you can do today
- Collect payments — create a Payment Link
(a shareable checkout URL for a fixed amount) or an
Invoice (a payment
link plus payer details, a due date, and optional line items). Your customer
completes payment on a Hosted Checkout page. You can
read and update
them while
edit_stateallows it, and download an invoice PDF. An optionalreturn_urlsends the payer back to your site from the checkout success page. - Let payers choose how they pay — accept payment across the chains and tokens in the Paying currencies catalog while you settle into a receiving chain and token you control.
- Query supported currencies — read the live Receiving and Paying currencies catalogs to drive the values you send when creating a payment.
- Send payouts — preview, create, and authorize
a payout or withdraw from your hosted wallet. You stamp
param_jsonwith your origin key; Morph signs on-chain. - Refund a paid order — quote, prepare, and authorize a full or partial refund of a wallet-collected payin.
- Track payouts and balance — page through your payout history and read the real-time on-chain balance of your receiving wallet.
- React to order events — receive signed
webhooks for the
success,failed, andexpiredpayin order lifecycle, with built-in retries and idempotency. Payout and refund completion is polled on the list APIs, not this webhook.
How it works
- Create a Payment Link or Invoice with the receiving chain, token, and address you want to settle into.
- Share the returned checkout URL. Your customer pays with any supported paying currency on the Hosted Checkout page.
- Confirm the payment: Morph watches the chain and finalizes the order.
- Get notified through a signed webhook when the order reaches
success,failed, orexpired.
Before you start
- Base URL — all API requests go to a single production gateway:
https://pay-openapi.morph.network
- Credentials — apply for an APIKey / APISecret at account.morph.network, then configure your receiving wallets there.
- Authentication — every request is signed with HMAC-SHA256. See Authentication for headers, the signing scheme, and code examples. Payout and refund writes also need an origin key.
note
Business success or failure is determined by the error_code field in the
response body (error_code == 0 means success), not by the HTTP status code
alone. See Error Codes for the full list.
Next steps
- Authentication — sign your first request.
- Invoices & Payment Links — create a payment resource.
- Currencies — see what chains and tokens are supported.
- Merchant stamp — origin key and
param_jsonfor payouts and refunds. - Payouts — send funds, list history, and check your balance.
- Refunds — full or partial refund of a paid order.
- Address Book — save payout recipient groups. Creating a payout still takes the recipient list directly.
- Webhooks — get notified of payin order status changes, and verify their signatures.
- Supported Tokens & Networks — the chains and tokens you can use.