Get Voucher Codes

GET https://api.uber.com/v1/organizations/:organization_id/voucher-programs/:voucher_program_id/codes

https://developer.uber.com/docs/vouchers/references/api/v1/organizations-organizationid-voucher-programs-voucherprogram_id-codes-get

This API call generates the voucher program codes.

If the MULTICODESINGLE_REDEEM code scheme is utlized, all codes will appear.

If the SINGLECODEMULTI_REDEEM code scheme is utilized, a single link will appear for redemption.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
User-Agentstring

RESPONSES

status: OK

{"total_number_of_codes":1,"codes":[{"code_text":"Redacted","redemption_link":"Redacted","max_num_redemptions":2,"code_id":"Redacted"}]}