Method
POST /v1/payments/start
Body Parameters
Headers
Bearer token (workspace API key).
application/jsoncurl -X POST https://api.voyantcloud.com/v1/payments/start \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"bookingId": "4a9a807e-5c7c-4f57-8e6d-2c6f1b1c5d10",
"amount": 8450,
"currency": "RON",
"billing": {
"email": "ana@example.com",
"firstName": "Ana",
"lastName": "Ionescu"
},
"products": [
{ "name": "Summer Cruise", "price": 8450, "qty": 1 }
]
}'
{
"url": "https://secure.mobilpay.ro/pay?orderId=ORDER-20250301-0001",
"orderId": "ORDER-20250301-0001",
"provider": "netopia"
}
Resolve the active provider and generate a hosted payment session (Netopia adapter).
POST /v1/payments/start
application/jsoncurl -X POST https://api.voyantcloud.com/v1/payments/start \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"bookingId": "4a9a807e-5c7c-4f57-8e6d-2c6f1b1c5d10",
"amount": 8450,
"currency": "RON",
"billing": {
"email": "ana@example.com",
"firstName": "Ana",
"lastName": "Ionescu"
},
"products": [
{ "name": "Summer Cruise", "price": 8450, "qty": 1 }
]
}'
{
"url": "https://secure.mobilpay.ro/pay?orderId=ORDER-20250301-0001",
"orderId": "ORDER-20250301-0001",
"provider": "netopia"
}
/v1/integrations/netopia/notify) and returns the hosted payment URL you must redirect the customer to.