2009
Table Of Contents
- Name-Value Pair API Developer Guide
- Preface
- This Document
- Intended Audience
- Revision History
- PayPal NVP API Overview
- Authorization and Capture API Operation Reference
- DoDirectPayment API
- Express Checkout API Operations
- GetTransactionDetails API
- MassPay API
- RefundTransaction API
- TransactionSearch API
- Recurring Payments and Reference Transactions API Operations
- DoNonReferencedCredit API
- ManagePendingTransactionStatu s API
- GetBalance API
- AddressVerify API
- API Error Codes
- General API Errors
- Validation Errors
- Direct Payment API Errors
- SetExpressCheckout API Errors
- GetExpressCheckoutDetails API Errors
- DoExpressCheckoutPayment API Errors
- Authorization and Capture API Errors
- GetTransactionDetails API Errors
- TransactionSearch API Errors
- RefundTransaction API Errors
- Mass Pay API Errors
- Recurring Payments Errors
- SetCustomerBillingAgreement Errors
- GetBillingAgreementCustomerDetails Errors
- CreateBillingAgreement Errors
- UpdateBillingAgreement Errors
- DoReferenceTransaction Errors
- AddressVerify API Errors
- ManagePendingTransactionStatus API Errors
- Country Codes
- State and Province Codes
- Currency Codes
- AVS and CVV2 Response Codes
Name-Value Pair API Developer Guide 08 April 2009 153
12
GetBalance API
Obtain the available balance for a PayPal account.
z “GetBalance Request” on page 153
z “GetBalance Response” on page 153
GetBalance Request
GetBalance Request Fields
GetBalance Response
GetBalance Response Fields
Field Description
METHOD (Required) Must be GetBalance.
RETURNALLCURRENCIES (Optional) Whether to return all currencies, which is one of the following values:
z 0 - Return only the balance for the primary currency holding
z 1 - Return the balance for each currency holding
NOTE: You can only include this field with API VERSION 51 and later; prior
versions return only the balance for the primary currency holding.
Field Description
L_AMTn The available balance and associated currency code for the primary currency holding.
L_CURRENTYCODEn The currency code associated with the holding, such as USD.