Create a Discount Promise - Discount - Mercado Pago Developers
Which documentation are you looking for?

Do not know how to start integrating? 

Check the first steps
Create a Discount Promise

POST

https://api.mercadopago.com/v2/wallet_connect/discounts
This endpoint allows you to create a "Discount Promise" for Wallet Connect. This "Discount Promise" serves as a reference that can be used when generating an Advanced Payment, enabling the application of a specific discount to the payment. During the payment creation process, it's essential to include the information from the previously provided "Discount Promise".
Request's parameters
BODY
amount
number

REQUIRED

Total payment amount before aplying discount. For example, 15.05.
coupon
string
UUnique ID that identifies the coupon for discount application. This field should be filled out only when the user enters a coupon during the purchasing process with the seller.
Response parameters
transaction_amount
number
Total payment amount before aplying discount. For example, 150.
currency_id
string
Type of currency to be used in payment. For example, ARS for Argentina, BRL for Brazil. This field varies according to your location.
legal_terms
string
Terms and conditions of discount.
discount
object
Discount description.
Errors

400Error

400

Bad-Request

400

Bad-Request

400

Bad-Request

500Error

500

Error

500

Error

Request
curl -X POST \
      'https://api.mercadopago.com/v2/wallet_connect/discounts'\
       -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-2151*********762-03031*********750b665b7*********4dac477-1*********' \
       -d '{
  "amount": 15.05,
  "coupon": "WALLET10"
}'
Sample answer
{
  "transaction_amount": 150,
  "currency_id": "ARS",
  "legal_terms": "https://api.mercadopago.com/v2/discounts/campaign/10580513/terms/html",
  "discount": {
    "amount": 15,
    "detail": {
      "cap": 1000000,
      "type": "percentage",
      "value": 10
    }
  }
}