CheckPin
Jump to navigation
Jump to search
Description
This method is used to check the value of pin sent to the platform. For both situation, Parental PIN en Purchase PIN, this method can check if the value of PIN is correct.
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- pinType (UserPinType, required)
- Define the type of pin.
- pin (int, required)
- The value of pin
Returns
Returns a JSON object containing true for successful.
Example:
{
- "StatusCode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content": true
}
Exceptions
- UserParentalPinValueNoMatchException
- UserPurchasePinValueNoMatchException
- AuthenticationRequiredException
- InvalidPinTypeException
Caching
This method is not cached.
Known issues
- None
Version history
API Version Number | Change description | Changes author |
---|---|---|
1.0 | Initial method design | Harley Cabral |