PayPaga
  1. Query Balance
PayPaga
  • Introduction
    • Introduction
    • API Reference
    • 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 - Puntored
      • Pay In - RappiPay
      • Pay In - ReFacil
      • Pay In - Susuerte
      • 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 - Bank Transfer
    • 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 - Brazil
    • Pay Out - Mexico
    • Pay Out - Argentina (V2)
    • Pay Out - Colombia (V2)
    • Pay Out - Ecuador (V2)
    • Pay Out - Guatemala (V2)
    • Pay Out - Peru (V2)
    • Pay Out - Chile (V2)
  • Transactions Status Notification
    • Transactions Status Notification
  • Query Balance
    • Query Balance
      GET
  • Appendix
    • Transaction Status Definitions and Lifecycle
  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/{merchant_id}
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

Path Params

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