Create Product
POST /v1/api/productsRequest body
Field
Type
Required
Description
Examples
curl -X POST https://apipay.byastra.ai/v1/api/products \
-H "X-Api-Key: ap_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Pro Plan",
"description": "Monthly subscription",
"price": 49.00,
"currency_type": "FIAT"
}'curl -X POST https://apipay.byastra.ai/v1/api/products \
-H "X-Api-Key: ap_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "NFT Pass",
"price": 1.00,
"currency_type": "CRYPTO",
"token": "USDC",
"network": "BASE"
}'Response 201 Created
Last updated