PayPaga
  1. Query Balance
PayPaga
  • Introduction
    • Introduction
    • API Reference
    • Payment methods
    • Errors
    • Standard Codes and Values
  • Authorization
    • Authorization
    • OAuth 2.0 Token Generation
  • Pay In - Direct API Integration
    • Pay In - Direct API Integration
    • Pay In - Payment Options
    • Pay In - Payment Processing
    • Pay In - Query Transactions
  • Pay In - PayURL Integration
    • Pay In - PayURL Integration
    • Pay In - Create PayURL
  • Pay In - Examples
    • Pay In - Argentina
      • Pay In - CVU
    • Pay In - Brazil
      • Pay In - PIX
    • Pay In - Chile
      • Pay In - Bank Transfer
    • Pay In - Colombia
      • Pay In - Dale
      • Pay In - Daviplata
      • Pay In - Efecty
      • Pay In - Gana
      • Pay In - Movii
      • Pay In - Nequi
      • Pay In - PSE
      • Pay In - RappiPay
      • Pay In - ReFacil
      • Pay In - Susuerte
      • Pay In - SuRed
      • Pay In - Western Union
    • Pay In - Ecuador
      • Pay In - Bemóvil
      • Pay In - Deuna
      • Pay In - Mi Negocio Efectivo
      • Pay In - Omniswitch
      • Pay In - Banco Pichincha
      • Pay In - Rapi Activo
      • Pay In - Western Union
    • Pay In - El Salvador
      • Pay In - Banco Agrícola
      • Pay In - Banco Cuscatlán
      • Pay In - Puntoxpress
    • Pay In - Guatemala
      • Pay In - BAM Efectivo
      • Pay In - BAM Transferencia
      • Pay In - Banco Industrial
      • Pay In - Akisi Pronet
    • Pay In - Mexico
      • Pay In - Pay With Cash
      • Pay In - SPEI
    • Pay In - Peru
      • Pay In - BBVA
      • Pay In - BCP
      • Pay In - BCP Efectivo
      • Pay In - Cell Power
      • Pay In - KasNet
      • Pay In - QR Interoperable
      • Pay In - Plin
      • Pay In - Yape
  • Pay Out - Direct API Integration
    • Pay Out - Direct API Integration
    • Pay Out - Query Transactions
    • Pay Out - Payment Processing
  • Pay Out - Examples
    • Pay Out - Argentina
    • Pay Out - Brazil
    • Pay Out - Chile
    • Pay Out - Colombia
    • Pay Out - Ecuador
    • Pay Out - Guatemala
    • Pay Out - Mexico
    • Pay Out - Peru
  • Transactions Status Notification
    • Transactions Status Notification
  • Query Balance
    • Query Balance
      GET
  • Appendix
    • Transaction Status Definitions and Lifecycle
    • Assets
  1. Query Balance

Query Balance

Developing
Develop Env
https://api.v2.stg.paypaga.com
Develop Env
https://api.v2.stg.paypaga.com
GET
https://api.v2.stg.paypaga.com
/get_merchant_balance
Real-time access to the financial balances of a merchant's account. This can be used for reporting and as a precursor to Pay Out - Payment Processing to determine if there is sufficient balance.
Error codes for Query Balance
Error codeDescription
107The merchant balance does not exist
500Unexpected error

Request

Query Params

Header Params

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.v2.stg.paypaga.com/get_merchant_balance?country_code&payment_method_code' \
--header 'Authorization;'
Response Response Example
200 - Success
{
  "country_collection": [
    {
      "country_code": "MX",
      "payment_method_collection": [
        {
          "payment_method_code": "BNKTR",
          "balance_collection": [
            {
              "transaction_type": "Payin",
              "currency": "MXN",
              "amount": 167761.96
            },
            {
              "transaction_type": "Payout",
              "currency": "MXN",
              "amount": 150985.764
            }
          ]
        }
      ]
    }
  ]
}
Previous
Transactions Status Notification
Next
Transaction Status Definitions and Lifecycle
Built with