This document gives the details of how to view the account’s credit balance by using the Credit Check API.
Note : All parameters should be URL-UTF-8 encoded.
GET
https://<servername>/CreditCheck/checkcredits
Exemple usage
https://<servername>:<port>/CreditCheck/checkcredits?username=X&password=Y
Paramètre
| Champ |
Type |
Description |
| username |
string |
Username of the user. |
| password |
string |
Password of the user. |
Response Message
| Nom |
Description |
| AUTHORIZATION_FAILED |
User is inactive or The credentials provided (username or password or both) are wrong. |
| BALANCE |
Credit balance remaining in the account. |
| INVALID_URL |
Username or Password or both are incorrect. |
| INTERNAL_ERROR |
Cannot fetch credit balance. |
| PERMISSION_DENIED |
You have reached the maximum number of allowed hits. |
Response
Try with Swagger UI