Should you notice any errors in our documentation, please don’t hesitate to contact us. Thank you!
name | type | default | info |
---|---|---|---|
voucher_id | string | NONE | OPTIONAL |
voucher_token | string | NONE | OPTIONAL |
renew | boolean | NONE | OPTIONAL |
replacement | boolean | NONE | OPTIONAL, REQUIRED if voucher_id or voucher_token |
emboss_line_1 | string | NONE | OPTIONAL, REQUIRED if voucher_id or voucher_token |
emboss_line_2 | string | NONE | OPTIONAL, REQUIRED if voucher_id or voucher_token |
image_id | string | NONE | OPTIONAL, REQUIRED if NOT voucher_id or voucher_token |
voucher_owner_id | string | NONE | OPTIONAL |
voucher_owner | voucher owner object | NONE | OPTIONAL |
voucher_configuration | voucher configuration object | NONE | OPTIONAL |
name | type | default | info |
---|---|---|---|
title | string | NONE | OPTIONAL |
first_name | string | NONE | OPTIONAL |
last_name | string | NONE | OPTIONAL |
identifier | string | NONE | OPTIONAL |
string | NONE | OPTIONAL | |
address_line_1 | string | NONE | OPTIONAL |
address_line_2 | string | NONE | OPTIONAL |
zip_code | string | NONE | OPTIONAL |
city | string | NONE | OPTIONAL |
country_code | string | NONE | OPTIONAL |
name | type | default | info |
---|---|---|---|
type | string | NONE | REQUIRED, can be classic, regional, national or lunch |
postal_data_id | string | NONE | REQUIRED if regional |
curl --location --request POST 'https://www-staging.givve.com/api/card_orders//entries' \
--header 'Authorization: Bearer ' \
--header 'Accept-Version: v2' \
--header 'Content-Type: application/json' \
--data-raw '{
"voucher_id": "string",
"voucher_id": "string",
"renew": true,
"replacement": false,
"emboss_line_1": "string",
"emboss_line_2": "string",
"image_id": "string",
"voucher_owner_id": "string",
"voucher_owner": {
"title": "string",
"first_name": "string",
"last_name": "string",
"identifier": "string",
"email": "string",
"address_line_1": "string",
"address_line_2": "string",
"zip_code": "string",
"city": "string",
"country_code": "string"
},
"voucher_configuration": {
"type": "string",
"postal_data_id": "string"
}
}'
{}