Payjn(IDN) - Interface doc
  1. Account
Payjn(IDN) - Interface doc
  • Integration Guide
  • Signature Rules
  • Attachment Code Table
  • Collection
    • Initiate Collection (API)
      POST
    • Initiate Collection (H5 Cashier)
      POST
    • Query Collection Order
      POST
    • Query Available Payment Methods
      POST
  • Payout
    • Initiate Payout
      POST
    • Query Payout Order
      POST
  • Account
    • Query account balance
      POST
  • Callback Notification
    • Collection callback notification
    • Payout callback notification
  1. Account

Query account balance

POST
/api-pay/balance/query

Request

Header Params

Body Params application/json

Example
{
    "merchantCode": "258251",
    "countryCode": "IDN"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api-pay/balance/query' \
--header 'sign: oJLyypV1kMUDQE7cduKvEdYkQLwxVp/eHxebd1cDHW3xk5lV5Y8WandPt9YKfKNJTBtEIADiJ0APrc0dPyzKrfAhQvzz560E7IjHmcr5TLKqbEZMhx3RUFsEhBvW41EEi03zOES5st648ewPcV7r8VZgBvSpqkgxRMq7ahJ0PBzc/HEpjbLR+PjbJSv1B6DfFSmdk8xsMsxZ1WcHGjvgzT3adnwXhjuWoxW9QIHmeesDh0dCZQflyj+UK2Yu/a0UKjN0wqT/B3WT9BGyCkw+n7QKYw8afLoFjxsRrHcuv2EKebBNVTmG7frV50RBAq41AdlfxpZdIloBwOUUEzPV3Q==' \
--header 'Content-Type: application/json' \
--data-raw '{
    "merchantCode": "258251",
    "countryCode": "IDN"
}'

Responses

🟢200成功
application/json
Body

Example
{
    "code": 200,
    "msg": "success",
    "data": {
        "merchantCode": "258251",
        "frozenBalance": "591600.00",
        "withdrawableBalance": "1113659.01",
        "settlingBalance": "39240.00"
    }
}
Modified at 2025-06-30 06:31:05
Previous
Query Payout Order
Next
Collection callback notification