> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pawapay.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Settlements

> Get the settlements created from `startDate` to `endDate` in UTC, both days included: the account each one was sent to, the bank fee, the exchange rate and the amount taken from each wallet. These are the same settlements as on the Dashboard under Settlements.

Settlements are returned newest first. Account numbers and crypto wallet addresses are masked.


Allows you to get the settlements made from your wallets in a period. For each settlement, you get its status, the bank account or crypto wallet it was sent to, the bank fee, the exchange rate and the amount taken from each wallet.

These are the same settlements as on the Dashboard under *Settlements*, so you can match what reached your account with what left your wallets.

Read more about settlements in our [Dashboard docs](https://docs.pawapay.io/dashboard/finances/settlements.md#track-your-settlements).

* The period is from `startDate` to `endDate`, **both days included**, in **UTC**. It can be up to **365 days**, for example `2026-01-01` to `2026-12-31`.
* The `endDate` can't be in the future.
* Settlements are selected by the **day they were created** and returned **newest first**. Both scheduled settlements and settlements you requested are included.
* Your upcoming settlement is returned once it starts and is `IN_PROGRESS`. Before that, only its date is shown on the Dashboard.
* Settlement data is available from **2 December 2024**. For earlier periods, the `settlements` list is empty.
* Each wallet is identified by its `country`, `currency` and `provider`, the same as in [Wallet Balances](https://docs.pawapay.io/v2/api-reference/finances/wallet-balances.md).

Each settlement has one of the following statuses:

| Status | Description |
| - | - |
| `IN_PROGRESS` | We are taking the funds from your wallets or sending them to your account. **Nothing has reached your account yet.** |
| `COMPLETED` | We have sent the funds to your account. |
| `CANCELLED` | We couldn't complete the settlement. The funds were **returned to your wallets** and nothing was sent. |
| `SKIPPED` | None of your wallets qualified for this settlement. Nothing was taken from your wallets. |

Each wallet in a settlement has one of the following statuses:

| Status | Description |
| - | - |
| `IN_PROGRESS` | We are taking the funds from this wallet. |
| `COMPLETED` | The funds were taken from this wallet. |
| `REVERTED` | The funds were taken from this wallet and **returned to it** because the settlement was cancelled. |
| `SKIPPED` | Nothing was taken from this wallet. The `skippedReason` tells you why, for example that the balance was below your minimum wallet balance. |

### What do the amounts mean?

A settlement can be sent to more than one account, a bank account or a crypto wallet. Each one is an entry in `destinations`, with the wallets settled into it.

The examples below are a ZMW wallet settled to a EUR bank account.

For each wallet:

* `amount` is what was taken from the wallet, in the wallet currency. For example, 546,400 ZMW.
* `fxRate` is the exchange rate from the wallet currency to `accountCurrency`. For example, `27.32` means 1 EUR = 27.32 ZMW.
* `settledAmount` is the amount settled from the wallet in `accountCurrency`, after exchange rate conversion. For example, 20,000 EUR.
* If the wallet is in the same currency as the account, there is no `fxRate` and `settledAmount` equals `amount`.

For each account in `destinations`:

* `totalAmount` is the sum of its wallets' `settledAmount`. For example, 20,000 EUR.
* `bankFeeAmount` is what your bank charged for the settlement. For example, 25 EUR.
* `settledAmount` is **the amount you are settled** on your account, after exchange rate conversion and bank fees. For example, 19,975 EUR.

For `IN_PROGRESS` and `CANCELLED` settlements, the amounts show what is being sent or what would have been sent. Only a `COMPLETED` settlement has reached your account.

### Which bank fees are included?

Bank charges are deducted only from **EUR, USD, GBP and stablecoin** settlements, and are shown in `bankFeeAmount`.

Local-currency settlements are paid in full, so their `bankFeeAmount` is `0`. If your bank charges a fee for a local settlement, we deduct it from your wallet separately. You can find it in your [Wallet Breakdowns](https://docs.pawapay.io/v2/api-reference/finances/wallet-breakdowns.md), not in this response.

### Can the amounts change later?

Yes. The response always shows the values as they are now, the same as on the Dashboard. If we correct a bank fee or an exchange rate after the settlement, the next request returns the corrected values.

### How are account details shown?

* Account numbers and crypto wallet addresses are **masked**: `****` followed by the last 4 characters, for example `****8900`.
* Bank names and account names are shown in full, so you can tell your accounts apart.

### How does a cancelled settlement show in my wallet breakdown?

When we cancel a settlement, the funds go back to your wallets straight away. The settlement shows as `CANCELLED` and its wallets as `REVERTED`.

In your [Wallet Breakdowns](https://docs.pawapay.io/v2/api-reference/finances/wallet-breakdowns.md), the amount taken and the amount returned are both counted in `withdrawals`. If both happen in the same period, they cancel each other out.

### Can I test this in sandbox?

No settlements are made in sandbox. Instead, for any period, the sandbox returns **five example settlements**:

* a completed cross-border settlement
* a completed local settlement
* a skipped settlement
* an in-progress settlement
* a cancelled settlement

They use your sandbox wallets, are spread evenly over the period, and keep the same `settlementId` when you repeat a request. They are examples only: they don't show on the sandbox Dashboard and don't match your sandbox wallet breakdowns.


## OpenAPI

````yaml openapi_v2 get /v2/settlements
openapi: 3.0.0
info:
  title: PawaPay Merchant API V2
  description: Please find complete documentation from https://docs.pawapay.io/.
  version: v2
  x-logo:
    url: >-
      https://global-uploads.webflow.com/62824591015aa314fd308df1/6411b26596e3de3f52551c00_Logopawapay-p-500.png
    href: https://docs.pawapay.io/
    altText: PawaPay logo
servers:
  - url: https://api.sandbox.pawapay.io
    description: PawaPay Merchant API sandbox
  - url: https://api.pawapay.io
    description: PawaPay Merchant API production
security:
  - bearerAuth: []
tags:
  - name: deposits
    x-displayName: Deposits
  - name: split-payments
    x-displayName: Split Payments
  - name: checkouts
    x-displayName: Checkouts
  - name: payouts
    x-displayName: Payouts
  - name: refunds
    x-displayName: Refunds
  - name: remittances
    x-displayName: Remittances
  - name: payment-page
    x-displayName: Payment Page
  - name: toolkit
    x-displayName: Toolkit
  - name: finances
    x-displayName: Finances
paths:
  /v2/settlements:
    get:
      tags:
        - finances
      summary: Settlements
      description: >
        Get the settlements created from `startDate` to `endDate` in UTC, both
        days included: the account each one was sent to, the bank fee, the
        exchange rate and the amount taken from each wallet. These are the same
        settlements as on the Dashboard under Settlements.


        Settlements are returned newest first. Account numbers and crypto wallet
        addresses are masked.
      operationId: settlements
      parameters:
        - in: query
          name: startDate
          required: true
          description: |
            First UTC calendar day of the period, inclusive.

            Format is `YYYY-MM-DD`. Date-times are rejected.
          schema:
            type: string
            format: date
            example: '2026-06-01'
        - in: query
          name: endDate
          required: true
          description: >
            Last UTC calendar day of the period, inclusive. Must be on or after
            `startDate` and not in the future. The period from `startDate` to
            `endDate`, both days included, can be up to 365 days, for example
            `2026-01-01` to `2026-12-31`.


            Format is `YYYY-MM-DD`. Date-times are rejected.
          schema:
            type: string
            format: date
            example: '2026-07-31'
      responses:
        '200':
          description: Request has been succesfully processed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettlementsResponse'
              examples:
                Successful:
                  value:
                    startDate: '2026-06-01'
                    endDate: '2026-07-31'
                    settlements:
                      - settlementId: 6ba7b810-9dad-11d1-80b4-00c04fd430c8
                        status: COMPLETED
                        date: '2026-07-06'
                        destinations:
                          - type: BANK
                            accountCurrency: EUR
                            bankAccount:
                              bankName: Standard Chartered
                              accountName: Remitex Ltd
                              accountNumber: '****8900'
                              country: GBR
                            totalAmount: '20000'
                            bankFeeAmount: '25'
                            settledAmount: '19975'
                            wallets:
                              - country: ZMB
                                currency: ZMW
                                provider: ''
                                status: COMPLETED
                                amount: '546400'
                                fxRate: '27.32'
                                settledAmount: '20000'
                      - settlementId: a3f1c2d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d
                        status: SKIPPED
                        date: '2026-06-29'
                        destinations:
                          - type: BANK
                            accountCurrency: ZMW
                            bankAccount:
                              bankName: Zanaco
                              accountName: Remitex Ltd
                              accountNumber: '****7788'
                              country: ZMB
                            totalAmount: '0'
                            bankFeeAmount: '0'
                            settledAmount: '0'
                            wallets:
                              - country: ZMB
                                currency: ZMW
                                provider: ''
                                status: SKIPPED
                                skippedReason: >-
                                  Balance below the configured minimum
                                  settlement amount
                No settlements:
                  value:
                    startDate: '2023-01-01'
                    endDate: '2023-12-31'
                    settlements: []
        '400':
          description: >-
            Request was rejected due to incompatibility with PawaPay API
            specification
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettlementsFailureResponse'
              examples:
                MISSING_PARAMETER:
                  value:
                    failureReason:
                      failureCode: MISSING_PARAMETER
                      failureMessage: >-
                        Request does not include the required parameter
                        'startDate'.
                INVALID_PARAMETER:
                  value:
                    failureReason:
                      failureCode: INVALID_PARAMETER
                      failureMessage: >-
                        Value for parameter 'endDate' is invalid. Please consult
                        API documentation for validation rules.
        '401':
          description: >-
            Authentication failed. Make sure you have added the API token into
            the header. If using signatures, make sure they are valid.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/AuthenticationFailureResponse'
              examples:
                AUTHENTICATION_ERROR:
                  value:
                    failureReason:
                      failureCode: AUTHENTICATION_ERROR
                      failureMessage: The API token in the request is invalid.
        '403':
          description: >-
            Authorization failure. The API token needs read access to both
            deposits and payouts.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/AuthorizationFailureResponse'
              examples:
                AUTHORISATION_ERROR:
                  value:
                    failureReason:
                      failureCode: AUTHORISATION_ERROR
                      failureMessage: >-
                        The API token in the request is not authorised for this
                        endpoint.
        '500':
          description: >-
            An unknown failure has occurred. The request is read-only and safe
            to retry.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/UnknownFailureResponse'
              examples:
                UNKNOWN_ERROR:
                  value:
                    failureReason:
                      failureCode: UNKNOWN_ERROR
                      failureMessage: Unable to process request due to an unknown problem.
components:
  schemas:
    SettlementsResponse:
      required:
        - startDate
        - endDate
        - settlements
      type: object
      properties:
        startDate:
          type: string
          format: date
          description: The `startDate` of the request.
          example: '2026-06-01'
        endDate:
          type: string
          format: date
          description: The `endDate` of the request.
          example: '2026-07-31'
        settlements:
          type: array
          items:
            $ref: '#/components/schemas/Settlement'
          description: >
            Settlements created in the period, newest first. Empty if there are
            none.


            Both scheduled settlements and settlements you requested are
            included. Your upcoming settlement is included once it starts and is
            `IN_PROGRESS`.
    SettlementsFailureResponse:
      required:
        - failureReason
      type: object
      properties:
        failureReason:
          $ref: '#/components/schemas/SettlementsFailureReason'
    AuthenticationFailureResponse:
      required:
        - failureCode
        - failureMessage
      type: object
      properties:
        status:
          type: string
          enum:
            - REJECTED
          description: The status of the response will always be `REJECTED`
          example: REJECTED
        failureReason:
          $ref: '#/components/schemas/AuthenticationFailureReason'
    AuthorizationFailureResponse:
      required:
        - failureCode
        - failureMessage
      type: object
      properties:
        status:
          type: string
          enum:
            - REJECTED
          description: The status of the response will always be `REJECTED`
          example: REJECTED
        failureReason:
          $ref: '#/components/schemas/AuthorizationFailureReason'
    UnknownFailureResponse:
      required:
        - failureCode
        - failureMessage
      type: object
      properties:
        failureReason:
          type: object
          properties:
            failureCode:
              type: string
              description: >
                Reason for the failure:

                * `UNKNOWN_ERROR` - Unable to process request due to an unknown
                problem.
              example: UNKNOWN_ERROR
            failureMessage:
              type: string
              description: A description of the failure
              example: Unable to process request due to an unknown problem.
    Settlement:
      required:
        - settlementId
        - status
        - date
        - destinations
      type: object
      properties:
        settlementId:
          type: string
          format: uuid
          description: The ID of the settlement. It is the same in every request.
          example: 6ba7b810-9dad-11d1-80b4-00c04fd430c8
        status:
          type: string
          description: >
            Status of the settlement:

            * `IN_PROGRESS` - We are taking the funds from your wallets or
            sending them to your account. Nothing has reached your account yet.

            * `COMPLETED` - We have sent the funds to your account.

            * `CANCELLED` - We couldn't complete the settlement. The funds were
            returned to your wallets and nothing was sent.

            * `SKIPPED` - None of your wallets qualified for this settlement.
            Nothing was taken from your wallets.


            More statuses may be added in the future.
          example: COMPLETED
          enum:
            - IN_PROGRESS
            - COMPLETED
            - CANCELLED
            - SKIPPED
        date:
          type: string
          format: date
          description: >-
            The date the settlement was created, in UTC. The same date as on the
            Dashboard.
          example: '2026-07-06'
        destinations:
          type: array
          items:
            $ref: '#/components/schemas/SettlementDestination'
          description: >-
            The bank accounts or crypto wallets the settlement was sent to. Each
            one lists the wallets settled into it.
    SettlementsFailureReason:
      required:
        - failureCode
        - failureMessage
      type: object
      properties:
        failureCode:
          type: string
          description: >
            Possible failure codes:

            * `MISSING_PARAMETER` - A mandatory parameter was missing from the
            request.

            * `INVALID_PARAMETER` - A parameter had an incorrect value: a
            malformed date, `endDate` before `startDate` or in the future, or a
            period longer than 365 days.
          example: INVALID_PARAMETER
          enum:
            - MISSING_PARAMETER
            - INVALID_PARAMETER
        failureMessage:
          type: string
          description: Description of the reason for this failure, naming the parameter.
          example: >-
            Value for parameter 'endDate' is invalid. Please consult API
            documentation for validation rules.
    AuthenticationFailureReason:
      required:
        - failureReason
      type: object
      properties:
        failureCode:
          type: string
          description: >
            Reason for the failure:

            * `NO_AUTHENTICATION` - The API token was not found in the request
            headers.

            * `AUTHENTICATION_ERROR` - The API token in the request headers is
            not valid.

            * `HTTP_SIGNATURE_ERROR` - The signature you have passed with the
            request did not pass verification.
          enum:
            - NO_AUTHENTICATION
            - AUTHENTICATION_ERROR
            - HTTP_SIGNATURE_ERROR
        failureMessage:
          type: string
          description: A description of the failure
    AuthorizationFailureReason:
      required:
        - failureReason
      type: object
      properties:
        failureCode:
          type: string
          description: >
            Reason for the failure:

            * `AUTHORISATION_ERROR` - The API Token in the request header is not
            authorised to make this request.

            * `DEPOSITS_NOT_ALLOWED` - Deposits are not enabled with the
            provider on your PawaPay account.

            * `PAYOUTS_NOT_ALLOWED` - Payouts are not enabled with the provider
            on your PawaPay account.

            * `REMITTANCES_NOT_ALLOWED` - Remittances are not enabled with the
            provider on your PawaPay account.

            * `REFUNDS_NOT_ALLOWED` - Refunds are not enabled with the provider
            on your PawaPay account.
          enum:
            - AUTHORISATION_ERROR
            - DEPOSITS_NOT_ALLOWED
            - PAYOUTS_NOT_ALLOWED
            - REMITTANCES_NOT_ALLOWED
            - REFUNDS_NOT_ALLOWED
        failureMessage:
          type: string
          description: A description of the failure
    SettlementDestination:
      required:
        - type
        - accountCurrency
        - totalAmount
        - bankFeeAmount
        - settledAmount
        - wallets
      type: object
      properties:
        type:
          type: string
          description: >-
            The type of account. `BANK` comes with `bankAccount`, and `CRYPTO`
            comes with `cryptoAccount`.
          example: BANK
          enum:
            - BANK
            - CRYPTO
        accountCurrency:
          type: string
          description: >-
            Currency of the account. An ISO 4217 code such as `EUR`, or `USDC`
            or `USDT` for a crypto wallet.
          example: EUR
        bankAccount:
          $ref: '#/components/schemas/SettlementBankAccount'
        cryptoAccount:
          $ref: '#/components/schemas/SettlementCryptoAccount'
        totalAmount:
          type: string
          description: >-
            The sum of the wallets' `settledAmount`, in `accountCurrency`,
            before the bank fee is deducted. For example, `20000`.
          example: '20000'
        bankFeeAmount:
          type: string
          description: >
            Bank charges deducted from this settlement, in `accountCurrency`,
            with up to 3 decimals. `0` if there are none.


            Bank charges are deducted only from EUR, USD, GBP and stablecoin
            settlements. Local-currency settlements are paid in full. If your
            bank charges a fee for a local settlement, we deduct it from your
            wallet separately and it shows in [Wallet
            Breakdowns](/v2/api-reference/finances/wallet-breakdowns), not here.
          example: '25'
        settledAmount:
          type: string
          description: >
            The amount you are settled on your bank account or crypto wallet, in
            `accountCurrency`, after exchange rate conversion and bank fees.


            For an `IN_PROGRESS` settlement, nothing has been sent yet. For a
            `CANCELLED` settlement, nothing was sent and the funds were returned
            to your wallets.
          example: '19975'
        wallets:
          type: array
          items:
            $ref: '#/components/schemas/SettlementWallet'
          description: The wallets settled into this destination.
    SettlementBankAccount:
      required:
        - bankName
        - accountName
        - accountNumber
        - country
      type: object
      description: The bank account the settlement was sent to.
      properties:
        bankName:
          type: string
          example: Standard Chartered
        accountName:
          type: string
          example: Remitex Ltd
        accountNumber:
          type: string
          description: >-
            The masked account number: `****` followed by the last 4 characters,
            for example `****8900`. Just `****` if the number has 4 characters
            or fewer.
          example: '****8900'
        country:
          type: string
          description: >
            Country of the bank account.


            Format is ISO 3166-1 alpha-3, three character country code in upper
            case. Read more from
            [Wikipedia](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3#Officially_assigned_code_elements).
          example: GBR
    SettlementCryptoAccount:
      required:
        - walletAddress
      type: object
      description: The crypto wallet the settlement was sent to.
      properties:
        walletAddress:
          type: string
          description: >-
            The masked wallet address: `****` followed by the last 4 characters,
            for example `****9f3a`. Just `****` if the address has 4 characters
            or fewer.
          example: '****9f3a'
    SettlementWallet:
      required:
        - country
        - currency
        - provider
        - status
      type: object
      properties:
        country:
          type: string
          format: text
          description: >
            Country of the wallet.


            Format is ISO 3166-1 alpha-3, three character country code in upper
            case. Read more from
            [Wikipedia](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3#Officially_assigned_code_elements).
          example: ZMB
        currency:
          type: string
          description: Currency of the wallet.
          example: ZMW
        provider:
          type: string
          description: >-
            If you are using a wallet that is only used by a single provider,
            that providers code will be shown here. Empty for country wallets.
          example: ''
        status:
          type: string
          description: >
            Status of the withdrawal from this wallet:

            * `IN_PROGRESS` - We are taking the funds from this wallet.

            * `COMPLETED` - The funds were taken from this wallet.

            * `REVERTED` - The funds were taken from this wallet and returned to
            it because the settlement was cancelled.

            * `SKIPPED` - Nothing was taken from this wallet. See
            `skippedReason` for why.


            More statuses may be added in the future.
          example: COMPLETED
          enum:
            - COMPLETED
            - SKIPPED
            - REVERTED
            - IN_PROGRESS
        amount:
          type: string
          description: >-
            The amount taken from the wallet, in the wallet currency. Not
            included if nothing was taken.
          example: '546400'
        fxRate:
          type: string
          description: >-
            Exchange rate from the wallet currency to `accountCurrency`. For
            example, `27.32` for a ZMW wallet settled to a EUR account means 1
            EUR = 27.32 ZMW. Up to 8 decimals. Only included if the wallet
            currency is different from `accountCurrency` and a rate has been
            recorded.
          example: '27.32'
        settledAmount:
          type: string
          description: >-
            The amount settled from this wallet, in `accountCurrency`, after
            exchange rate conversion. If the wallet is in `accountCurrency`, it
            equals `amount`. Not included if there is no amount yet.
          example: '20000'
        skippedReason:
          type: string
          description: >-
            Why the wallet was skipped, for example that its balance was below
            your minimum wallet balance. Only included for `SKIPPED` wallets.
            This is free text for people to read, so don't parse it.
          example: Balance below the configured minimum settlement amount
  securitySchemes:
    bearerAuth:
      type: http
      description: >-
        See
        [Authentication](/v2/docs/how_to_start#how-to-authenticate-calls-to-the-merchant-api).
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.