cURL
curl --request POST \ --url https://api.plexospay.com/v1/products \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "price": 50000000, "description": "<string>", "currency": "CVE", "metadata": {} } '
{ "id": "pr_abc123", "name": "Premium Plan", "description": "<string>", "price": "50000", "currency": "CVE", "active": true, "metadata": {}, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
API key starting with sk_live_ or sk_test_
sk_live_
sk_test_
1 - 255
Price in centavos
1 <= x <= 100000000
ISO currency code
CVE
AOA
Arbitrary key-value metadata (max 50 keys)
Product created
"pr_abc123"
"Premium Plan"
"50000"