추가 신호
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 페이지에서는 점수 품질을 개선하기 위해 평가를 만들 때 전송할 수 있는 추가 필드를 보여줍니다. 자세한 내용은 트랜잭션 데이터를 참조하세요.
다음 코드 스니펫에서는 트랜잭션 데이터와 관련된 추가 필드가 있는 샘플 요청 본문을 보여줍니다.
{
"event": {
"token": "YOUR_TOKEN",
"site_key": "KEY_ID",
"expected_action": "YOUR_CHECKOUT_ACTION_NAME",
"transaction_data": {
"transaction_id": "txid-1234567890",
"payment_method": "credit-card",
"card_bin": "411111",
"card_last_four": "1234",
"currency_code": "USD",
"value": 39.98,
"shipping_value": 7.99,
"shipping_address": {
"recipient": "name1 name2",
"address": [
"123 Street Name",
"Apt 1"
],
"locality": "Sunnyvale",
"administrative_area": "CA",
"region_code": "USA",
"postal_code": "123456"
},
"billing_address": {
"recipient": "name1 name2",
"address": [
"123 Street Name",
"Apt 1"
],
"locality": "Sunnyvale",
"administrative_area": "CA",
"region_code": "USA",
"postal_code": "123456"
},
"user": {
"account_id": "abcde12345",
"creation_ms": 1650000000000,
"email": "user@example.com",
"email_verified": true,
"phone_number": "+18005550175",
"phone_verified": false
},
"merchant": {
"account_id": "abcde12345",
"creation_ms": 1650000000000,
"email": "user@example.com",
"email_verified": true,
"phone_number": "+1+18005550178",
"phone_verified": false
},
"items": [
{
"name": "first item",
"value": 19.99,
"quantity": 1,
"merchant_account_id": "abcde12345"
},
{
"name": "second item",
"value": 19.99,
"quantity": 1,
"merchant_account_id": "abcde12345"
}
],
"gateway_info": {
"name": "google",
"gateway_response_code": "SUCCESS",
"avs_response_code": "Y",
"cvv_response_code": "Y"
}
}
}
}
평가를 만드는 방법은 웹사이트 평가 만들기를 참조하세요.
다음 단계
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-09-04(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["# Additional signals\n\nThis page shows the additional fields that you can send when creating assessments\nto improve the quality of scores. For more information,\nsee [transaction data](/recaptcha/docs/reference/rest/v1/projects.assessments#transactiondata).\n| **Note:** The PII data for Fraud Prevention is not displayed in the platform logs.\n\nThe following code snippet shows a sample request body with additional fields\nrelated to transaction data. \n\n```json\n{\n \"event\": {\n \"token\": \"\u003cvar translate=\"no\"\u003eYOUR_TOKEN\u003c/var\u003e\",\n \"site_key\": \"\u003cvar translate=\"no\"\u003eKEY_ID\u003c/var\u003e\",\n \"expected_action\": \"\u003cvar translate=\"no\"\u003eYOUR_CHECKOUT_ACTION_NAME\u003c/var\u003e\",\n \"transaction_data\": {\n \"transaction_id\": \"txid-1234567890\",\n \"payment_method\": \"credit-card\",\n \"card_bin\": \"411111\",\n \"card_last_four\": \"1234\",\n \"currency_code\": \"USD\",\n \"value\": 39.98,\n \"shipping_value\": 7.99,\n \"shipping_address\": {\n \"recipient\": \"name1 name2\",\n \"address\": [\n \"123 Street Name\",\n \"Apt 1\"\n ],\n \"locality\": \"Sunnyvale\",\n \"administrative_area\": \"CA\",\n \"region_code\": \"USA\",\n \"postal_code\": \"123456\"\n },\n \"billing_address\": {\n \"recipient\": \"name1 name2\",\n \"address\": [\n \"123 Street Name\",\n \"Apt 1\"\n ],\n \"locality\": \"Sunnyvale\",\n \"administrative_area\": \"CA\",\n \"region_code\": \"USA\",\n \"postal_code\": \"123456\"\n },\n \"user\": {\n \"account_id\": \"abcde12345\",\n \"creation_ms\": 1650000000000,\n \"email\": \"user@example.com\",\n \"email_verified\": true,\n \"phone_number\": \"+18005550175\",\n \"phone_verified\": false\n },\n \"merchant\": {\n \"account_id\": \"abcde12345\",\n \"creation_ms\": 1650000000000,\n \"email\": \"user@example.com\",\n \"email_verified\": true,\n \"phone_number\": \"+1+18005550178\",\n \"phone_verified\": false\n },\n \"items\": [\n {\n \"name\": \"first item\",\n \"value\": 19.99,\n \"quantity\": 1,\n \"merchant_account_id\": \"abcde12345\"\n },\n {\n \"name\": \"second item\",\n \"value\": 19.99,\n \"quantity\": 1,\n \"merchant_account_id\": \"abcde12345\"\n }\n ],\n \"gateway_info\": {\n \"name\": \"google\",\n \"gateway_response_code\": \"SUCCESS\",\n \"avs_response_code\": \"Y\",\n \"cvv_response_code\": \"Y\"\n }\n }\n }\n}\n```\n\nTo learn about how to create assessments, see [Create an assessment for your website](/recaptcha/docs/create-assessment-website).\n\nWhat's next\n-----------\n\n- To annotate assessments, see [Annotate assessments with transaction events](/recaptcha/docs/annotate-assessment-fp)."]]