Skip to main content
POST
Create a payment link

Authorizations

Authorization
string
header
required

Scoped Bearer token from POST /merchant/api/auth.

Body

application/json
title
string
required
description
string
amount
number<float>

Fixed amount, minimum 100 XOF. Omit for an open amount, which the customer enters on the pay page and which is held to the same 100 XOF floor.

Required range: x >= 100
currency
string
default:XOF
url_slug
string

Custom slug, unique across Kori. 3–100 characters: lowercase letters, digits and hyphens, not starting or ending with a hyphen. Uppercase is lowercased and surrounding spaces are trimmed. test is reserved. Omit it to get one generated from the title.

Pattern: ^[a-z0-9][a-z0-9-]{1,98}[a-z0-9]$
usage_limit
integer

Max number of successful payments. A payment still awaiting confirmation holds a place for up to 10 minutes, so the limit is not overshot by payers who open the link at the same time.

Required range: x >= 1
expires_at
string<date-time>

Must be in the future.

Response

Payment link created.

success
boolean
Example:

true

message
string
request_id
string<uuid>
data
object