1. Tips
Freedom Pay
  • Overview
  • Gateway API
    • Overview
    • Sync API
      • Overview
      • Card data encryption
      • Payments
        • Overview
        • Pay by card
        • Pay by card: complete 3DS
        • Pay with Apple Pay
        • Pay with Google Pay
        • Pay by recurring profile
        • Create payment page
        • Create payment page with any amount
        • Capture payment (clearing)
        • Cancel payment
        • Refund payment
        • Get payment status
      • Payouts
        • Overview
        • Pay out to card
        • Pay out to IBAN
        • Get payout balance
        • Get payout status
      • Transfers
        • Overview
        • Transfer from card to card
        • Transfer from card to card: complete 3DS
        • Get exchange rates
        • Get transfer status
      • Saved cards
        • Overview
        • Save card
        • Save card: complete 3DS
        • List saved cards
        • Remove saved card
        • Pay by card token
        • Pay out to card token
        • Get payment status
    • Async API
      • Overview
      • Create
        • Create payment
        • Save card without a charge
      • Read
        • Get payment status
        • Get request result
      • Edit
        • Capture payment (clearing)
        • Cancel payment (reverse)
        • Refund payment
  • Merchant API
    • Overview
    • Payments
      • Overview
      • Checkout
      • Pay by saved card
        • Overview
        • Create payment
        • Confirm payment with CVC
        • Confirm payment without the client
      • Create payment
      • Create payment with a payment page template
      • Create payment in a payment frame
      • Create payment with any amount
      • Create recurring payment
      • Capture payment (clearing)
      • Cancel payment
      • Refund payment
      • Get payment status
    • Payouts
      • Overview
      • Create payout page
      • Pay out to saved card
      • Pay out to IBAN
      • Get payout status
      • Get payout balance
    • Saved cards
      • Get saved cards
      • Save card
      • Save card for payouts
      • Delete saved card
      • Save card without a charge
    • Mobile balance
      • Overview
      • Create mobile balance payment
      • Charge mobile balance
      • Get mobile balance payment status
      • Confirm payment with SMS code
      • Resend SMS code
    • Invoices
      • Overview
      • Recurring payments
        • Overview
        • Create recurring profile
        • Get recurring profile
        • Charge by recurring profile
        • Cancel recurring profile
        • Recurring profile notification
      • Tips
        • Overview
        • Create
          POST
      • Create invoice
        POST
      • Get invoice status
        POST
      • Get invoice details
        POST
      • Cancel invoice
        POST
      • Refund invoice
        POST
    • SDK
      • JS SDK
      • Merchant SDK
        • Android
        • iOS
        • Migration guide
    • CMS
      • Overview
      • Get Merchant ID and key
      • WordPress
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
        • Update
      • Tilda
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • InSales
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • Ecwid
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • Bitrix
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • PrestaShop
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • OpenCart
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • CS-Cart
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
    • Installment
      • Overview
      • Status
        • Get application status
        • Application status notification
        • Change application status
      • Get partners
      • Create application
    • Callbacks
      • Overview
      • Result notify
      • Check request
      • Payout notify
      • Redirect back
  • Partner API
    • Overview
    • Rates
      • Overview
      • Rates
    • Products
      • Overview
      • Dictionaries
      • Add client with product
      • Client request status
      • Create terminal
      • Update terminal limits
      • Product request status
    • E-Money
      • Overview
      • Add
      • Owner identification
      • Info
      • Close
      • Block
      • Balance
      • Statement
      • Request Status
    • Device ID
      • Android SDK
      • iOS SDK
    • Implement SuperApp
      • Overview
      • Pay
      • Refund
      • Status
    • Account
      • Overview
      • Create payment
      • Payment status
      • Batch statuses
      • Statement
      • Statement status
      • Balance
      • Balance status
    • Invoices
      • Info
  1. Tips

Create

KZ
https://api.freedompay.kz
KZ
https://api.freedompay.kz
POST
https://api.freedompay.kz
/v5/merchant/tips/create
Creates a tip: the sender pays it on the Freedom Pay tips page, the money goes to the recipient's card.
Save the card of the recipient first: Save card without a charge with pg_template = tips.
Open redirect_url from the response for the sender.
Pass post_link: the result comes only as a notification, there is no method to get the status. See Tips Overview.
A tip is paid once: if the payment fails (status = error), create a new tip with a new external_id.
Sign the request with X-JWS-Signature: see Invoice Overview.

Tip flow#

Result#

HTTPstatusMeaningNext step
200newThe tip is created.Open redirect_url for the sender.
200anyA tip with this external_id already exists: it is returned with its current status, redirect_url only for new.Use the returned tip.
200error with error_codeInternal error.Repeat the request later.
401, 404, 422errorThe request is rejected.See «Errors» below.

Errors#

HTTPerror_codeWhenWhat to do
40112000The API user is not linked to a merchant.Contact Freedom Pay support.
4019998The signature is invalid.Check the signature: see Invoice Overview.
40412103The recipient card is not found: no approved card with this card_token is saved for recipient.user_id.Check recipient; save the card with Save card without a charge.
4229403The X-JWS-Signature header is missing.Pass the signature.
4220A field is missing or invalid. error_description names the field.Fix the request.

Request

Header Params

Body Params application/jsonRequired

Example
{
    "amount": 500,
    "currency": "KZT",
    "external_id": "tip1001",
    "main_order": {
        "external_id": "order1001",
        "amount": 5000
    },
    "recipient": {
        "user_id": "courier-042",
        "card_token": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    },
    "sender": {
        "user_id": "customer-777"
    },
    "back_url": "https://merchant.example.com/back",
    "post_link": "https://merchant.example.com/callback"
}

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "id": "019a3b2c-7d4e-7f60-8a1b-2c3d4e5f6a7b",
    "status": "new",
    "created_at": "2026-10-30T10:00:42+00:00",
    "redirect_url": "https://customer.freedompay.kz/tips?token=019a3b2c-7d4e-7f60-8a1b-2c3d4e5f6a7b",
    "dt": "2026-10-30T10:00:42+00:00"
}
🟠401Unauthorized
🟠404Not Found
🟠422Unprocessable Entity
Previous
Overview
Next
Create invoice