Skip to content

Check credits remaining does not return remaining credit. #6

@codepandit

Description

@codepandit

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',
),
))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions