Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check credits remaining does not return remaining credit. #6

Open
codepandit opened this issue Jul 10, 2019 · 0 comments
Open

Check credits remaining does not return remaining credit. #6

codepandit opened this issue Jul 10, 2019 · 0 comments

Comments

@codepandit
Copy link

codepandit commented Jul 10, 2019

I'm using message media trail account (i.e prepaid account), I'm trying to fetch the remaining credit of my account but its returning me an object (see body).

‌Unirest\Response::__set_state(array(
'code' => 200,
'raw_body' => '{"remaining_credits":{}}',
'body' =>
stdClass::__set_state(array(
'remaining_credits' =>
stdClass::__set_state(array(
)),
)),
'headers' =>
array (
0 => 'HTTP/2 200',
'date' => 'Wed, 10 Jul 2019 06:12:23 GMT',
'content-type' => 'application/json;charset=UTF-8',
),
))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant