Query Partner Balance

Query partner balance

Request URL

POST https://card-api-sandbox.pagsmile.com/issuing/partner/query-balance

Request Header

Name
Type
Description

Content-Type*

string

application/json; chartset=UTF-8

Request Body

Refer to : common

Biz_data :

Name
Type
Description

sub_partner_id*

string

Sub Partner ID

if 'sub_partner_id' is empty,please input the value of 'partner_id'

Response

{
    "code": "10000",
    "msg": "Success",
    "data": [
        {
            "account_name": "Example company",
            "account_num":"",
            "currency": "USD",
            "balance": "4.20",
            "available_balance": "4.20",
            "block_amount": "0.00"
        }
    ],
    "total": 1,
    "random_key":"abssdddd2wdw==",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}
Name
Type
Description

account_name

string

Account name

account_num

string

Account number

currency

string

Account currency, as a 3-letter ISO currency code.

balance

string

total balance

available_balance

string

available balance

block_amount

string

block amount

Example

curl --location --request POST 'https://card-api-sandbox.pagsmile.com/issuing/partner/query-balance' \
--header 'Content-Type: application/json' \
--data-raw '{
    "app_id": "2017051914172236111",
    "partner_id":"900000000000001",
    "sub_partner_id":"",
    "timestamp": "2011-09-23 04:24:03",
    "format": "JSON",
    "version": "2.0",
    "random_key": "jJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElE",
    "request_id": "F6bEd39c-EecF-C1a2-AFcb-bA9BAeC6",
    "sign_type": "RSA",
    "biz_data": {
    
    } 
}'

Note: 201************11 is pagsmile's test app id for sandbox

Please use your own app_id when testing.

Last updated