Skip to main content
POST
Create collection

Authorizations

Authorization
string
header
required

Secret key: Authorization: Bearer sk_test_... or sk_live_.... Business and live/test mode are inferred from the key.

Body

application/json
title
string
required
Maximum string length: 200
Example:

"Product purchase"

amount
number
required
Required range: x >= 1
Example:

5000

currency
enum<string>
required
Available options:
usd,
ngn
Example:

"usd"

description
string
Maximum string length: 1000
Example:

"Payment for order #1234"

Response

Collection created

message
string
Example:

"Success"

data
object | null