POST
/
v1
/
service
/
voucher
curl --request POST \
  --url https://api.nxos.io/v1/service/voucher \
  --header 'Content-Type: application/json' \
  --data '{
  "value": {
    "amount": "<string>",
    "asset_code": "<string>"
  },
  "expires_at": "<string>",
  "provider_name": "<string>",
  "funding_source_account_id": "<string>"
}'
{
  "voucher_id": "<string>",
  "value": {
    "amount": "<string>",
    "asset_code": "<string>"
  },
  "expires_at": "<string>",
  "provider_name": "<string>",
  "funding_source_account": "<string>",
  "status": "ACTIVE"
}

Body

application/json

The details required to mint a new voucher.

The body is of type object.

Response

200 - application/json

The minted Voucher object containing all relevant details.

The response is of type object.