Check Credit API
This endpoint allows users to check their credit information by providing a registered email address. This service returns the user's credit details associated with the provided email.
POST
https://ai.iapp.co.th/check-credit
Headers
Content-Type
String
Yes
Specifies the format of the request body. Must be set to application/json
.
Request Body
The request body should contain the following parameters in JSON format:
String
Yes
The email address used to identify the user’s credit information.
Example JSON Body:
Response
The response will contain the user’s credit balance if the email is valid and associated with an account. If the email is not found, an error message will be returned.
Successful Response
On success, the API returns a JSON object with the user's credit balance.
Example Response:
String
The email address associated with the credit information.
creditBalance
Number
The current credit balance available to the user, with decimal precision.
Last updated