I’m having trouble with
Wix Payment Links API - All payment link creation attempts fail with “price must not be empty” error despite properly formatted price fields
Working in
API Development using REST API endpoints with proper authentication and permissions
Site link
[Include your live site URL here - this is important for Wix support to check your site configuration]
What I’m trying to do
Create payment links for Wix Bookings services using the Payment Links API (POST /payment-links/v1/payment-links). Goal is to generate publicly accessible payment URLs for customers to pay for their fishing charter bookings.
What I’ve tried so far
Verified all permissions: Have “Wix Pay Links”, “Wix eCommerce”, “Wix Bookings”, and “Wix Payments” permissions enabled
Confirmed Payment Links Settings work: GET /payment-links/v1/payment-links-settings returns 200 OK
Tested all payload structures:
type: “ECOM” with ecomPaymentLink and customItem (matches working curl examples)
type: “ECOM_ORDER” with ecomOrderPaymentLink
Correct eCommerce source.appId: “1380b703-ce81-ff05-f115-39571d94dfcd”
Tested all price formats:
“80”, “80.0”, “80.00”, “80.000” (all fail identically)
Both string and numeric formats
Minimal test: Simple payment link with no booking references (also fails)
Verified API authentication: Same API key works for Bookings, Contacts, and Payment Links Settings APIs
Current payload (matches official documentation exactly):
Error received (consistently across ALL attempts):
Extra context
The price field is clearly visible in our payload (“price”: “80.00”) but API claims it’s “not defined”
This suggests a site configuration issue rather than payload problem
Payment Links Settings API works, but creation fails
Using proper DECIMAL_VALUE format as per documentation
API works for other endpoints (Bookings, Contacts) with same authentication
Following official recipe for “Payment Links for Bookings”
Questions:
Is there a specific eCommerce store setup required beyond Payment Links Settings?
Do I need connected payment methods (PayPal/Stripe) for Payment Links API to work?
Is there a site premium plan requirement?
Could this be a regional/currency support issue with SGD?
The fact that Payment Links Settings works but creation fails suggests the feature is configured but not fully operational. Any guidance on required site setup would be appreciated!