Skip to main content
POST
Create product

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
name
string
required
Maximum string length: 200
Example:

"Website redesign"

amount
number
required

Minor units

Required range: x >= 1
Example:

25000000

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

"ngn"

description
string
Maximum string length: 1000
Example:

"One-time project fee"

metadata
object
distribution
string | null

Distribution ID to attach. Must exist, be active, and match the product currency. Omit or null for none.

Response

Product created

message
string
Example:

"Success"

data
object | null