Skip to content

Customer

We expose customer details as Customer. The contains the balances of the customer

Key Concepts

Concept Description
Balances Provide the balances in the customers wallet
  query Customer {
    customer {
      wallet {
        balances {
          currency {
            code
            name
            symbol
          }
          decimalAmount
          minorUnitsTotalAmount
        }
      }
    }
  }
Response
{
  "data": {
    "customer": {
      "wallet": {
        "balances": [
          {
            "currency": {
              "code": "GBP",
              "name": "Great British Pounds",
              "symbol": "£"
            },
            "decimalAmount": 189.8,
            "minorUnitsTotalAmount": 18980
          }
        ]
      }
    }
  }
}