POST
/
v1
/
service
/
voucher

Body

application/json
funding_source_account_id
string
required

The account ID from which funds will be sourced to back the voucher.

provider_name
string
required

The name of the voucher provider or issuing system.

value
object
required

The value of the voucher to be minted.

expires_at
string

The expiration date of the voucher in ISO 8601 format. If not provided, a default expiration period may be applied.

Response

200 - application/json
expires_at
string
required

The expiration date of the voucher in ISO 8601 format.

funding_source_account
string
required

The account ID from which funds were sourced to back the voucher.

provider_name
string
required

The name of the voucher provider or issuing system.

status
enum<string>
required

The current status of the voucher.

Available options:
ACTIVE,
PARTIALLY_REDEEMED,
FULLY_REDEEMED,
EXPIRED,
CANCELLED
value
object
required

The value of the voucher.

voucher_id
string
required

Unique identifier for the voucher.