InputParameters
InputParameters
| Field | Description |
|---|---|
| returnUrl | string the returnUrl in the request of Generate URL API |
| failReturnUrl | string the failReturnUrl in the request of Generate URL API |
| callbackUrl | string the callbackUrl in the request of Generate URL API |
| bizId | string the bizId in the request of Generate URL API |
| userId | string the userId in the request of Generate URL API |
| region | string the region in the request of Generate URL API |
| language | string The language in the request of Generate URL API |
| prefersColorScheme | string The prefersColorScheme in the request of Generate URL API |
| numberType | string The numberType in the request of Generate URL API |
| scope | string[], optional for THAIEID. The effective attribute list used for the ThaID authorization. If Generate URL omitted scope or sent null, this returns ["idNumber", "firstName", "lastName", "birthday"]. A supplied scope is returned after whitespace trimming and deduplication. See Generate URL API. |
| ignoreFailWhenJump | bool The ignoreFailWhenJump in the request of Generate URL API |
| bizCode | string The bizCode in the request of Generate URL API |
| iframeEnabled | bool The iframeEnabled in the request of Generate URL API |
Examples
{
"returnUrl": "https://www.example.com",
"failReturnUrl": "https://www.example.com/fail",
"callbackUrl": "https://www.example.com/callback",
"bizId": "7ac66c0f148de9519b8bd264312c4d64",
"userId": "8e44f0089b076e18a718eb9ca3d94674",
"region": "IDN",
"numberType": "NIK",
"language": "en-US",
"prefersColorScheme": "light",
"ignoreFailWhenJump": false,
"bizCode": "WhiteCard"
}{
"returnUrl": "https://www.example.com/verification/return",
"failReturnUrl": "https://www.example.com/verification/failed",
"bizId": "order-thaid-002",
"userId": "user-thaid-002",
"region": "THA",
"numberType": "THAIEID",
"scope": ["idNumber", "firstName", "lastName", "birthday"]
}Updated 1 day ago
Did this page help you?
