Base URL
All API requests should be made to:{org_id} with your organization ID.
Available endpoints
Payment management
Payment management
POST /payment/refund— Refund an order (full or partial; optional “soft” refund)
Subscription management
Subscription management
POST /subscription/enable_autorenew— Turn on autorenewPOST /subscription/disable_autorenew— Turn off autorenewPOST /subscription/migration— Move a sub to another price point (price_prorate,delayed_start)POST /discount— Apply a percentage discount for a number of iterationsPOST /subscription/defer— Delay the next charge until a timePOST /subscription/pause— Stop billing and access until a timePOST /subscription/resume— Cancel pause and restart billing/access
PricePoints
PricePoints
POST /price_points— List price points (filter byident)POST /pp/export_csv— Export all price points to CSVPOST /pp/import_csv— Bulk-create price points from CSVPOST /pp/update— Update byidentPOST /pp/create— Create a price pointPOST /feature/create— Create a feature (timebased, lifetime, consumable)POST /features— List all features
Information
Information
POST /my_assets— Fetch user ownership (subscriptions & one-off purchases)
Checkout
Checkout
POST /checkout/create_client_session— Get a client token & order for the selected price pointPOST /checkout/update_client_session— Re-bind an order to a different price pointPOST /checkout/create_payment— Charge using apayment_method_tokenPOST /checkout/one_click— One-click purchase byexternal_id+pp_identPOST /checkout/resume_payment— Complete a payment after additional action
Making requests
Path parameters
All endpoints defined underhttps://billing.funnelfox.com/{org_id}/v1/... require the org_id in the URL path.
Request body
Most endpoints accept JSON parameters in the request body. Parameters vary by endpoint - see the API Reference for details.Example request
Response format
All successful responses follow this structure:Example response
Filtering
ThePOST /price_points endpoint is the only one that supports narrowing results by ident to retrieve specific price points.
Pass an ident value to retrieve only the matching price point:
Error handling
The API returns standard HTTP status codes with detailed error messages.status- Always"error"for failed requestsreq_id- Unique request identifier for debuggingerror- Array of error objects withmsg(description) andtype(error category)
