Create a refund session with a reserved voucher.
POST /api/v1/widgets/refund-sessions/create-session-voucher
Creates a refund session and reserves a voucher in a single request. The voucher is linked to the refund session and can be used to track the refund through the voucher lifecycle.
Parameters
Body
Request example
Response
Response schema
Returns an object with both the voucher and the refund session. Voucher fields:
Refund session fields: See Create Refund Session for the full schema.