Skip to main content
Both give you a LuminPay-hosted page to share by WhatsApp, email, SMS or social media. The customer picks a coin and network, pays, and you’re settled in naira. You can create them in the dashboard or with the API. In Sandbox the pages are on sandbox.luminpay.co, and customers pay with test coins.
The response includes url; that’s the link to share. fixedAmountNgn comes back in kobo ("500000"), like every naira amount the API returns. Turn a link off with PATCH /payment-links/{id}/status and {"status": "inactive"}; customers then see that it’s no longer active. See every payment made through a link with GET /payment-links/{id}/charges.

Create an invoice

amountNgn is whole naira. Send the returned url to your customer. The customer’s email is never shown on the public page.
  • An invoice can be paid once. Its status goes from sent to paid.
  • Each time the customer opens it, they get 15 minutes to pay the quoted amount. If they come back later, a fresh quote is made automatically.
  • A payment for less than the full amount leaves the invoice open; you’ll see what arrived in the dashboard.
  • Cancel an unpaid invoice with PATCH /invoices/{id}/void.

Know when you’re paid

Listen for webhooks:
  • charge.paid for every payment. Its data includes paymentLinkId or invoiceId, so you can tell which link or invoice it came through.
  • invoice.paid when an invoice is settled, with invoiceId and reference.
See Webhooks for verifying them.