Log in

API Documentation
  • Main
  • Getting API keysRequest format
  • Payments
    Getting started Creating an invoice Creating a Static wallet Generate a QR-code Block static wallet Refund payments on blocked address Payment information Refund Resend webhook Testing webhook List of services Payment history Webhook Payment statuses AML links
    Payouts
    Getting started Calculation of the withdrawal amount Creating a payout Payout information Payout history Payout statuses Webhook List of services Transfer to personal wallet Transfer to business wallet
  • PHP SDK
  • CMS Modules
  • Discount Payment
    List of discounts Set discount to payment method
  • Exchange rates listBalanceReference

Main

/

Discount Payment

/

Set discount to payment method

FAQAPIContacts

Ⓒ 2026 Heleket

Privacy policy

Terms of use

AML

FAQAPIContacts

Set discount to payment method

post
https://api.heleket.com/v1/payment/discount/set
Copy

Request

Query parameters

NameDefinition
currency*Currency code
network *Blockchain network code
discount_percent*Discount percent

Definition

Currency code

Definition

Blockchain network code

Definition

Discount percent

* - mandatory parameter

About discount percent:

Positive Numbers (>0). Gives buyers a discount for paying with a coin. Good promotional tool if you want to give extra support to a particular coin.


Negative Numbers (<0). Adds a certain percentage (padding) for paying with a coin. This could be used to cover your crypto/fiat conversion costs, make adjustments to match your local exchange, etc.

Request example


curl https://api.heleket.com/v1/payment/discount/set \
-X POST \
-H 'merchant: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json' \
-d '{
    "network": "bsc"
    "currency": "BUSD",
    "discount_percent": -20,
}'
Copy

Response

Response parameters

NameDefinition
currencyCurrency code
networkBlockchain network code
discount_percentDiscount percent

Definition

Currency code

Definition

Blockchain network code

Definition

Discount percent

Response example


1{
2    "state": 0,
3    "result": {
4      "currency": "BUSD",
5      "network": "bsc",
6      "discount": "-10"
7    }
8}
9
10
Copy

Response example with error


1{
2  "message": "The service BUSD bsc was not found",
3  "state": 1
4}
5
Copy