Skip to content

Account Balance

Mauko Maunde edited this page Jan 8, 2021 · 1 revision

To check your account balance, call the balance method at your endpoint.

C2B::balance($command, $remarks = "Balance Query", $occassion = "");

You can pass an optional callback for processing the response from the request and returning true.

C2B::balance($command, $remarks = "Balance Query", function ($response){
    // Do something with $response
    return true;
});
Clone this wiki locally