1. Partner API
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
      • Create invoice
      • Get invoice status
      • Get invoice details
      • Cancel invoice
      • Refund invoice
    • SDK
      • JS SDK
      • Merchant SDK
        • Android
        • iOS
    • 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. Partner API

Overview

Partner API is for Freedom Pay partners: companies that connect their clients to Freedom Pay, open e-money wallets or work with Freedom Pay accounts.
Partner API is not needed to accept payments: for that, use Merchant API or Gateway API.
To connect, contact your account manager: Freedom Pay gives you auth_id and a secret key for the signature.
Sign every request: see «Signature».

Method groups#

GroupWhat it is forSignature
ProductsConnect a legal entity with a product and create terminals for it. The result contains the merchant ID and the secret key of the client: see Client request status.X-JWS-Signature
E-MoneyOpen e-money wallets, identify the owner, block and close wallets, get the balance and the statement.X-JWS-Signature
AccountSend payment orders in ISO 20022 format (pain.001) and get their statuses; get the balance and the statement of an account.X-JWS-Signature
RatesSend currency exchange rates to Freedom Pay.X-JWS-Signature
InvoicesGet the details of an invoice for the payment app that the payer is redirected to.X-JWS-Signature
Implement SuperAppRegister payments and refunds made in a partner super app and get their status.pg_sig

Signature#

Methods with paths /v5/partner/… are signed with X-JWS-Signature (HS256): build it as described in «X-JWS-Signature» in Async API Overview.
In the JWS header, auth_id is your partner ID; sign with your partner secret key.
For GET methods the request has no body: sign an empty body.
Implement SuperApp methods are signed with pg_sig and the secret key of the merchant: see «Signature» in Merchant API Overview.
Sign exactly the bytes of the body you send: a change after signing (formatting, spaces, key order) makes the signature invalid.

Requests processed later#

Methods that create or change data (a client, a terminal, a wallet) accept the request and process it later. Pass a new request_id (UUID) in each such request and get the result with the request status method of the group: Client request status, Product request status, Request Status for wallets.
Balance and statement of an account: the first request returns requestId. Get the result with Balance status or Statement status.

Errors#

HTTPCodeWhenWhat to do
200status = error with error_codeThe request is rejected by business rules.See error_code and error_description.
4019998The signature is invalid.Check auth_id, the secret key and the signed body: see «Signature».
4229403The X-JWS-Signature header is missing.Pass the signature in X-JWS-Signature.

Support#

If you find an inaccuracy in the documentation or need help with the integration, write to support@freedompay.kz.
For connection, contact your account manager.
Previous
Redirect back
Next
Overview