Freedom Pay
  1. Settlement
Freedom Pay
  • Overview
  • Gateway API
    • Overview
    • Sync API
      • Overview
      • Purchase
        • Overview
        • Create payment
        • Any amount
        • Card
        • 3DSecure
        • Recurrent
        • Cancel
        • Clearing
        • Refund
        • Status
      • Payout
        • Overview
        • Card
        • IBAN
        • Balance
        • Status
      • Transfer
        • Overview
        • Card
        • 3DSecure
        • Rates
        • Status
      • Card
        • Overview
        • Add
        • 3DSecure
        • List
        • Remove
        • Status
      • Token
        • Overview
        • Token Pay
        • Apple Pay
        • Google Pay
        • Token Payout
        • Status
    • Async API
      • Overview
      • create
        • create payment
      • read
        • read payment
        • read request
      • edit
        • edit payment.refund
        • edit payment.reverse
        • edit payment.clearing
  • Merchant API
    • Overview
    • Purchase
      • Overview
      • Checkout
      • Card token
        • Overview
        • Tokenize card
        • Delete token
        • Card token list
        • Create payment (with CVC)
        • Confirm payment (with CVC)
        • Create payment
        • Confirm payment
      • Create payment
      • Any amount
      • Cancel payment
      • Clearing
      • Refund payment
      • Status
    • Payout
      • Overview
      • Card token
        • Tokenize card
        • Delete token
        • Card token list
        • Create payment
      • Create payment
      • IBAN
      • Balance status
      • Status by order_id
      • Status by Payment ID
      • Status
    • Mobile balance
      • Overview
      • Init
      • Pay
      • Approve
      • Resend code
      • Status
    • Invoice
      • Overview
      • Init
      • Info
      • Pay
      • Status
    • SDK
      • JS SDK
      • Google Pay
      • Freedom QR
        • Reader SDK (Android)
        • Provider SDK (Android)
      • Payment SDK
        • iOS
        • Android
    • 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
    • Redirect back
      POST
    • Result notify
      POST
    • Payout notify
      POST
    • Check request
      POST
  • Card API
    • Overview
    • Payment Cards
      • Overview
      • Dictionaries
      • Bulk issue
      • Issue card
      • Issue plastic card
      • Activate card
      • Block card
      • Unblock card
      • Set PIN
      • Reset PIN counter
      • Close card
      • Update client
      • Card info
      • Balance
      • Secret data
      • Secret data (version 2)
      • Operations' list
      • Statement extended
      • Create client
      • Edit client
      • Сards' list
      • Request' status
      • Create transaction
      • Clearing transaction
      • Refund transaction
      • Transaction info
      • Cardholder validation
      • Set limits
      • Limits list
    • Gift Cards
      • Overview
      • List
      • Issue
      • Confirm
      • Resend
      • Resend code
      • Status
  • Partner API
    • Rates
      • Overview
      • Rates
    • Products
      • Overview
      • Dictionaries
      • Add client with product
      • Request status
    • E-Money
      • Overview
      • Add
      • Owner identification
      • Info
      • Close
      • Block
      • Balance
      • Statement
      • Request Status
    • Freedom ID
      • Overview
      • Design
      • iOS SDK
      • Android SDK
      • OAuth2
        • Authorization link
        • Token exchange
        • Token refresh
        • User info
        • Request profile
        • Get profile status
        • Create user
        • Update user
      • OIDC
        • Authorization endpoint
        • Token exchange
        • Userinfo
      • Error codes
      • Examples
        • Keycloak
    • Transfer
      • Overview
      • Get token
      • Refresh token
      • Get agents
      • Fees
      • Create person
      • Create business
      • Create transfer
      • Print application
      • Confirm
      • Search
      • Payout
      • Payout confirm
      • Cancel
      • Get person info
      • Get business info
      • Status
      • Info
    • Device ID
      • Android SDK
      • iOS SDK
    • Implement SuperApp
      • Overview
      • Pay
      • Refund
    • Settlement
      • Overview
      • Settlement partitions
        POST
  1. Settlement

Overview

General information#

  This document describes the required API changes in accordance with the ISO 20022 standard.
The request and response bodies are transmitted in JSON format, where the main ISO 20022 message in XML format is placed in the document_body field.
The type of the transmitted document is specified in the document_type field.
The following versions of ISO 20022 messages are supported:
• pain.001.001.12 — CustomerCreditTransferInitiationV12 (payment initiation)
• pain.002.001.14 — CustomerPaymentStatusReportV14 (payment status report

Error Codes#

CodeDescription
1001More than 500 payment instructions uploaded in a single request.
9403ISO 20022 document validation error (does not conform to XSD schema).
9999Internal server error related to document processing.

ISO 20022 Validation Error Codes:#

Error CodeDescription
BE04MsgId is missing or exceeds 35 characters. Must be non-empty and unique.
BE04CreDtTm is missing or has an invalid format. Expected format: YYYY-MM-DDThh:mm:ssZ.
AM04NbOfTxs is missing, non-integer, or ≤ 0. Must be a positive integer.
AM04CtrlSum is missing, < 0, or has more than 2 decimal places.
BE04InitgPty/Nm is missing or contains invalid characters.
BE04PmtInfId is missing or exceeds 35 characters.
RC01PmtMtd value is missing or not equal to “TRF”.
AM04NbOfTxs is missing, non-integer, or ≤ 0.
AM04CtrlSum < 0 or has more than 2 decimal places.
BE04InstrPrty is missing or not valid.
BE04Invalid date format. Required ISO format: YYYY-MM-DD.
BE04Dbtr/Nm is missing or contains invalid characters.
AC01Invalid IBAN: length or format does not match the country standard (e.g., KZ...).
BE04EndToEndId is missing, not unique, or exceeds 35 characters.
AM04InstdAmt is missing, ≤ 0, or has more than 2 decimal places.
RC01BIC is missing or does not match the format (A–Z/0–9 only, length 8 or 11).
BE04Cdtr/Nm is missing or contains invalid characters.
AC01Recipient IBAN is invalid — length or checksum does not match format.
BE04Payment purpose is missing or contains invalid characters.
BE04KBE code is missing or does not match the directory.
BE04IIN/BIN is missing or not 12 digits long.

Statuses#

Possible ISO 20022 settlement section statuses:#

ISO CodeInternal StatusDescription
ACSCsuccessSuccessfully sent to the bank
ACSPprocessIn queue for processing
RJCTerrorSending error, possibly rejected by the bank
PDNGdownloadedUploaded but not yet processed

Restrictions#

The maximum number of payment instructions in one ISO document is 500.
An unsupported document_type will result in a processing error.
An unsupported document_body will result in a processing error.

Modified at 2025-07-11 11:35:14
Previous
Refund
Next
Settlement partitions