LogoLogo
Dev Portal
v2
v2
  • REST API
  • Overview
  • API REFERENCE
    • API Requests
    • Payments
    • Payouts
  • THESMARTWAY
    • Checkout Experience
      • Overview
    • API Requests
      • Transactions
      • Country Codes
      • Currency Codes
      • Document Types
      • Wallet
      • Our Status and Flow
    • Notification & Webhooks
      • Notifications
      • Get Secret
      • Events Signature
  • METHODS & MARKETS
    • PayIn
      • Overview
      • LATAM
        • Brazil
          • PIX
          • Bank Transfer
          • Credit Card
          • Boleto
          • PicPay
        • Peru
          • Bank Transfer
          • CIP
          • Wallet
          • Credit Card
        • Equador
          • Wallet
          • Bank Transfer
          • Mobile Money
        • Colombia
          • PSE
          • Nequi
          • Bancolombia
          • Transfiya
          • Efecty
        • Chile
          • Bank Transfer
          • Wallet
          • Credit Card
        • Bolivia
          • Wallet
        • México
          • Bank Transfer
        • Argentina
          • Bank Transfer
      • ASIA
        • India
          • Bank Transfer
    • PayOut
      • Overview
      • LATAM
        • Brazil
          • PIX
          • Bank Transfer
        • Colombia
          • Transfiya
          • Bank Transfer
        • Peru
          • Bank Transfer
        • Ecuador
          • Bank Transfer
          • Mobile Money
        • Chile
          • Bank Transfer
        • México
          • Bank Transfer
        • Bolivia
          • Bank Transfer
        • Argentina
          • Bank Transfer
      • ASIA
        • India
          • Bank Transfer
  • RESOURCES
    • FAQ & Support
      • How to get the token
      • Tests to validate your integration
Powered by GitBook
On this page
  1. THESMARTWAY
  2. API Requests

Wallet

Call the Wallet API to request balance wallet.


GET /balance

Request

# Without parameters

curl -v --location --request GET 'https://sandbox.smartfastpay.com/balance' \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer <Access-Token>' \'
# With parameters

curl -v --location --request GET 'https://sandbox.smartfastpay.com/balance?currency=USD' \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer <Access-Token>' \'

Parameters details

Parameter
Type
Description

currency

string (3) min: 3 | max: 3

This parameter is optional, if currency isn't provided it will return all currencies. Eg.: USD

Response

# All Currencies
{
    "requestId": "167ffff1-b58b-4d1b-909e-ff714c594967",
    "data": [
        {
            "currency": "BRL",
            "balance": 517488.21
        },
        {
            "currency": "USD",
            "balance": 53.62
        }
    ]
}
# One Currency
{
    "requestId": "167ffff1-b58b-4d1b-909e-ff714c594967",
    "data": [
        {
            "currency": "BRL",
            "balance": 517488.21
        }
    ]
}

Response details

Parameter
Description

currency

The currency type that the amount.

balance

Balance value.