Difference between revisions of "CheckPin"
Jump to navigation
Jump to search
(Created page with "{{Api_Method_Spec| 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 t...") |
|||
Line 18: | Line 18: | ||
{{Api_Parameter| | {{Api_Parameter| | ||
ParamName=pin | ParamName=pin | ||
− | |ParamType= | + | |ParamType=string |
|ParamRequired=required | |ParamRequired=required | ||
|ParamDescription=The value of pin | |ParamDescription=The value of pin |
Revision as of 09:02, 17 February 2016
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 (string, 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 |