Method
POST /v1/payments/bank/init
Body Parameters
Headers
Bearer token (workspace API key).
application/jsoncurl -X POST https://api.voyantcloud.com/v1/payments/bank/init \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"bookingId": "4a9a807e-5c7c-4f57-8e6d-2c6f1b1c5d10",
"amount": 1250,
"currency": "EUR",
"paymentId": "pm_20250301_001"
}'
{
"ok": true,
"paymentSessionId": "psn_01J0NRC94RFPR0A8BXQJ2Q3V9S",
"dueAt": "2025-03-06T10:25:14.000Z",
"instructions": {
"iban": "RO49AAAA1B31007593840000",
"beneficiary": "Voyant Travel SRL",
"reference": "BOOK-4a9a807e-5c7c-4f57-8e6d-2c6f1b1c5d10",
"note": "Please include reference in transfer details"
}
}
Create (or refresh) a bank transfer payment session for a booking or wizard.
POST /v1/payments/bank/init
application/jsoncurl -X POST https://api.voyantcloud.com/v1/payments/bank/init \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"bookingId": "4a9a807e-5c7c-4f57-8e6d-2c6f1b1c5d10",
"amount": 1250,
"currency": "EUR",
"paymentId": "pm_20250301_001"
}'
{
"ok": true,
"paymentSessionId": "psn_01J0NRC94RFPR0A8BXQJ2Q3V9S",
"dueAt": "2025-03-06T10:25:14.000Z",
"instructions": {
"iban": "RO49AAAA1B31007593840000",
"beneficiary": "Voyant Travel SRL",
"reference": "BOOK-4a9a807e-5c7c-4f57-8e6d-2c6f1b1c5d10",
"note": "Please include reference in transfer details"
}
}
paymentId. Repeated calls update the existing session, refresh the due date (default +5 days), and push the latest pricing metadata.