Skip to main content
POST
Create a payment link

Authorizations

Authorization
string
header
required

Your secret API key from Developers → API keys. A key can be limited in the dashboard: read only (GET requests only), allowed IP addresses, and an expiry date. A request outside a limit is refused with 401 or 403 and a message saying which limit.

Headers

Idempotency-Key
string

A unique value for this request, 8 to 64 characters (letters, numbers, dots, dashes, underscores, colons). Send the same value when retrying: the first answer is returned with the header Idempotent-Replayed: true and nothing is created twice. Kept for 24 hours. The same key with a different request returns 422; the same key while the first request is still running returns 409.

Required string length: 8 - 64
Pattern: ^[A-Za-z0-9._:-]{8,64}$

Body

application/json
title
string
required
amountType
enum<string>
required
Available options:
fixed,
flexible
description
string
fixedAmountNgn
string

Whole naira, e.g. "5000" for ₦5,000. Required when amountType is fixed.

Pattern: ^[1-9]\d{0,11}$
successRedirectUrl
string<uri>

Where to send the customer after paying. https on Live.

Response

The payment link

id
string<uuid>
slug
string
url
string<uri>

Share this with customers

title
string
description
string | null
amountType
enum<string>
Available options:
fixed,
flexible
fixedAmountNgn
string | null

Kobo

successRedirectUrl
string | null
status
enum<string>
Available options:
active,
inactive
paymentCount
integer
createdAt
string<date-time>