Get complete voucher information
GET/vouchers/:voucher_id
Get complete vouchers information
Request
Path Parameters
Voucher ID
Responses
- 200
- 401
- 404
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
]
The monetary value of the voucher
Indicates if the voucher discount applies over the taxes
Unique code to identify and redeem the voucher
List of conditions and restrictions for using the voucher
Human readable description of the voucher offer
partner
object
Additional details that do not have a specific field to store it.
Branch name. Could be used to identify call-center or store that start the policy process.
Brand name
Client id generated by bolttech
Partner name
Partner id generated by bolttech
payment_properties
object
List of supported bank names
List of supported bank identification numbers
List of supported payment methods
Number of times the voucher has been redeemed
product
object[]
Unique internal identifier for the product
Additional metadata associated with the product
Name of the product
price
object
commission
object
Additional details that do not have a specific field to store it.
Possible values: [FIXED
, PERCENTAGE
]
Tax rate
Possible values: [AED
, AFN
, ALL
, AMD
, ANG
, AOA
, ARS
, AUD
, AWG
, AZN
, BAM
, BBD
, BDT
, BGN
, BHD
, BIF
, BMD
, BND
, BOB
, BOV
, BRL
, BSD
, BTN
, BWP
, BYR
, BZD
, CAD
, CDF
, CHE
, CHF
, CHW
, CLF
, CLP
, CNY
, COP
, COU
, CRC
, CUC
, CUP
, CVE
, CZK
, DJF
, DKK
, DOP
, DZD
, EGP
, ERN
, ETB
, EUR
, FJD
, FKP
, GBP
, GEL
, GHS
, GIP
, GMD
, GNF
, GTQ
, GYD
, HKD
, HNL
, HRK
, HTG
, HUF
, IDR
, ILS
, INR
, IQD
, IRR
, ISK
, JMD
, JOD
, JPY
, KES
, KGS
, KHR
, KMF
, KPW
, KRW
, KWD
, KYD
, KZT
, LAK
, LBP
, LKR
, LRD
, LSL
, LTL
, LVL
, LYD
, MAD
, MDL
, MGA
, MKD
, MMK
, MNT
, MOP
, MRO
, MUR
, MVR
, MWK
, MXN
, MXV
, MYR
, MZN
, NAD
, NGN
, NIO
, NOK
, NPR
, NZD
, OMR
, PAB
, PEN
, PGK
, PHP
, PKR
, PLN
, PYG
, QAR
, RON
, RSD
, RUB
, RWF
, SAR
, SBD
, SCR
, SDG
, SEK
, SGD
, SHP
, SLL
, SOS
, SRD
, SSP
, STD
, SYP
, SZL
, THB
, TJS
, TMT
, TND
, TOP
, TRY
, TTD
, TWD
, TZS
, UAH
, UGX
, USD
, USN
, USS
, UYI
, UYU
, UZS
, VEF
, VND
, VUV
, WST
, XAF
, XAG
, XAU
, XBA
, XBB
, XBC
, XBD
, XCD
, XDR
, XFU
, XOF
, XPD
, XPF
, XPT
, XTS
, XXX
, YER
, ZAR
, ZMW
]
Currency codes Enum
discount
object[]
Additional details that do not have a specific field to store it.
Possible values: [FIXED
, PERCENTAGE
]
Tax rate
premium
object
taxes
object[]
Human readable description of the tax
Type/category of the tax being applied
Numeric value of the amount
Tax rate
General product identifier
Package identifier that the product belongs to
Current status of the product
Provider identifier for the product
Product rating or score value
terms_and_conditional
object
Category or type of voucher
validity
object
{
"amount": 50,
"apply_over_taxes": false,
"code": "SUMMER2024",
"conditions": [
"country: PT",
"partner: bolttech"
],
"description": "50% off on all electronics",
"partner": {
"additional_details": {},
"branch": "string",
"brand": "default",
"client_id": "string",
"name": "bolttech broker",
"partner_id": "bolttech"
},
"payment_properties": {
"allowed_banks": [
"Bank of America",
"Chase",
"Wells Fargo"
],
"allowed_banks_digits": [
"123456",
"789012"
],
"allowed_payment_methods": [
"credit_card",
"debit_card",
"bank_transfer"
]
},
"quantity_used": 5,
"product": [
{
"internal_id": "123e4567",
"internal_products": [
null
],
"metadata": {
"productGradeLabel": "gold"
},
"name": "Car Insurance Gold",
"price": {
"amount": 0,
"commission": {
"additional_details": {},
"apply_over_taxes": true,
"commission_value": 0,
"description": "string",
"type": "FIXED",
"value": "string",
"rate": 20
},
"currency_code": "EUR",
"discount": [
{
"additional_details": {},
"apply_over_taxes": true,
"commission_value": 0,
"description": "string",
"type": "FIXED",
"value": "string",
"rate": 20
}
],
"premium": {
"net": 0,
"total": 0
},
"taxes": [
{
"description": "Value Added Tax",
"type": "VAT",
"value": 0.19,
"rate": 20
}
]
},
"product_id": "PROD-001",
"product_package": "car-insurance",
"product_status": "production",
"provider": "provider123",
"score": 4.5
}
],
"terms_and_conditional": {
"max_discount_value": 0,
"minimum_purchase_amount": 0,
"quantity_limit": 0,
"quantity_used": 0
},
"type": "discount",
"validity": {
"expires_at": "string",
"start_at": "string"
}
}
Unauthorized
Quote not found