Chilkat Online Tools

C# / Reloadly API / Account Balance

Back to Collection Items

System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
   at System.Runtime.InteropServices.Marshal.StringToHGlobalUni(String s)
   at Chilkat.CkMarshal.StringToX(String s, XString* x)
   at Chilkat.Xml.LoadXml(String xmlData)
   at ChilkatApi.XClass.LoadClass(String className, Log log)
   at ChilkatApi.ApiCache.getApiClass(String className, Log log)
   at ChilkatApi.ApiCache.getApiProperty(String className, String propName, Log log)
   at ChilkatCode.CodeGen.getXProp(String className, String propName)
   at ChilkatCode.CodeGen.getPropType(String varName, String propName)
   at ChilkatCode.CodeGen.emitAssignment(String varName, String propName, String op, Xml xml)
   at ChilkatCode.Parser.assignment()
   at ChilkatCode.Parser.statement()
   at ChilkatCode.Parser.Chilkat()
   at ChilkatCode.Parser.Parse()
   at ChilkatCode.Compile.CompileForToolsIO(String srcCode, String langHashKey, StringBuilder sbHtmlOut)

Curl Command

curl -X GET
	-H "Authorization: Bearer ACCESS_TOKEN_GOES_HERE"
	-H "Accept: application/com.reloadly.topups-v1+json"
https://topups.reloadly.com/accounts/balance

Postman Collection Item JSON

{
  "name": "Account Balance",
  "request": {
    "method": "GET",
    "header": [
      {
        "key": "Authorization",
        "value": "Bearer ACCESS_TOKEN_GOES_HERE",
        "type": "text"
      },
      {
        "key": "Accept",
        "value": "application/com.reloadly.topups-v1+json",
        "type": "text"
      }
    ],
    "url": {
      "raw": "https://topups.reloadly.com/accounts/balance",
      "protocol": "https",
      "host": [
        "topups",
        "reloadly",
        "com"
      ],
      "path": [
        "accounts",
        "balance"
      ]
    }
  },
  "response": [
  ]
}