Create Voucher Program From Template

POST https://api.uber.com/v1/organizations/{{organization_id}}/voucher-programs/create-from-template

https://developer.uber.com/docs/vouchers/references/api/v1/organizations-organization_id-voucher-programs-create-from-template-post

This API call generates a voucher_id, which is the identifier value for the entire voucher program using a predefined Template.

This API call utilizes a SINGLECODEMULTI_REDEEM code scheme.

template_id is the ID of the template this campaign is based on

redemptionspercode is the number of times a code can be redeemed. This value can be customized.

valuepertripmaxamount is the maximum dollar amount each voucher can cover on each trip fare. This value can be customized.

valueperperiodmaxtrips is the maximum number of trips a rider can take, per period. This value can be customized.

HEADERS

KeyDatatypeRequiredDescription
``null
Accept-Languagestring
Content-Typestring
User-Agentstring

RESPONSES

status: OK

{"voucher_program_id":"Redacted","code_text":"Redacted","code_link":"Redacted"}