Skip to content

Quickstart

Create a NEAR invoice, share its payment page, and receive a matched payment event.

1. Add a NEAR receiving account

Add a receiving account on an enabled NEAR network and choose the NEP-141 assets it accepts.

2. Create an invoice

POST /v1/invoices { "customer_id": "cus_...", "title": "Services", "amount": "25.00", "asset": "USDC", "network": "near:testnet" }

3. Share the payment page

The invoice response includes a hosted payment URL. The customer can connect a NEAR wallet or follow the displayed transfer instructions and memo.

4. Handle the result

Zetra reads finalized NEAR outcomes. A safely matched payment updates the invoice and emits a signed webhook.