PPylon Developers
ApiStore Credits

Get credit balance

Returns the current user's available store credit balance.

GET
/api/v1/payments/credits/balance
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Response Body

application/json

curl -X GET "https://loading/api/v1/payments/credits/balance"
{
  "totalAvailable": 0.1,
  "credits": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "remainingBalance": 0.1,
      "currency": "string",
      "expiresAt": "2019-08-24T14:15:22Z",
      "source": "string"
    }
  ]
}