This test fail has probably the same reason as https://rt.cpan.org/Ticket/Display.html?id=121328 :
...
# Failed test 'WebService/Snapcard.pm loaded ok'
# at t/00-compile.t line 37.
# got: '65280'
# expected: '0'
In method get_merchant_balance: I was expecting a parameter list, not "{" at /tmpfs/.cpan-build-cpansand/2017042318/WebService-Snapcard-0.0001-0/blib/lib/WebService/Snapcard.pm line 46.
Compilation failed in require at -e line 1.
# Looks like you failed 1 test of 1.
t/00-compile.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...