Introduction

Authentication

Test cards

Establishments

Users

Customers

Cards

Payment links

Error codes

Payment Split

Products

Discount Coupons

Sales

Signatures

Webhooks

Financial


On this page:


POST Create discount coupon

https://api.premepay.com/v1/stores/:id/vouchers

Status for Discount Coupon

Parameter Meaning
Active Active Coupon
Inactive Inactive Coupon

Applicable discount formats:

Parameter Meaning
percentage Discount amount will be applied in the format
fixed Discount amount will be applied with the fixed amount

Payment Methods that accept Discount Coupons

Parameter Meaning
credit Credit Card
boleto Bank Slip (Boleto Bancário)
pix Pix

Request example

This is an example of how your request to register a product should look like.

Responses

If your request is successful, you will receive the return of the Voucher object.


Related Content

<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/bfe6a9ef-6d9a-405e-9fbe-484666d3fb5e/PUT.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/bfe6a9ef-6d9a-405e-9fbe-484666d3fb5e/PUT.png" width="40px" /> PUT - Enable or disable coupon manually

</aside>

<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e3aeb85f-a7e2-40f4-b805-7e883e3d72e2/DELETE.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e3aeb85f-a7e2-40f4-b805-7e883e3d72e2/DELETE.png" width="40px" /> DELETE - Delete coupon

</aside>