-
Notifications
You must be signed in to change notification settings - Fork 1
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
Option to check credits #2
Comments
Hello, unfortunately the SDK does not have native support for this feature. You need to use the API https://help.bulkgate.com/docs/en/http-simple-check-credit-balance.html We will also try to add this feature to the SDK or you can send PR. |
Alright I am just looking for options so if I end up implementing this I will try to send PR with balance checking. |
I just added new integration API endpoint for this feature Now you can call this: $response = $this->connection->send(new Connection\Request('info', new Message\Api([]))); |
Thank you |
I added new CreditChecker class for check credit. Does it meet your requirements? |
Looks great, I didn't get a chance to try it yet. |
Simple to use and gets all needed information, thanks for implementation 👍 |
New version released https://github.com/BulkGate/php-sdk/releases/tag/1.0.1 |
Hello,
are there any plans to add option to check credits or will this be only available in HTTP api?
The text was updated successfully, but these errors were encountered: