# 결제 계정 추가 엑솔라는 사용자가 게임 내에서 상품을 구매할 때 결제 계정을 추가하거나 결제 계정을 저장할 때마다 웹훅 URL에 payment_account_add 타입의 웹훅을 전송합니다. 이 웹훅을 수신하려면 고객 성공 매니저에게 문의하거나 csm@xsolla.com으로 이메일을 보내주세요. Endpoint: POST add-payment-account Version: 1.0 ## Request fields (application/json): - `notification_type` (string, required) 알림 유형. - `payment_account` (object) 결제 계정 세부내역 (객체). - `payment_account.country` (string) 결제 계정의 국가입니다. 예를 들어 카드를 발급한 은행의 국가 또는 PayPal 계정을 생성할 때 지정한 국가입니다. [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)에 따른 2자리 대문자 국가 코드입니다. - `payment_account.id` (string, required) 결제 계정 ID. - `payment_account.name` (string) 결제 시스템의 결제 계정 명칭(예: 결제 카드 번호, 이메일). - `payment_account.payment_method` (integer) 결제 수단의 ID입니다. - `payment_account.type` (string) 결제 계정 유형(예: 카드, PayPal) - `settings` (object) 사용자 정의 프로젝트 설정(개체)입니다. - `settings.merchant_id` (integer) 판매자 ID입니다. - `settings.project_id` (integer) 프로젝트 ID. 이 매개 변수는 [관리자 페이지](https://publisher.xsolla.com/)의 프로젝트 이름 옆에서 확인할 수 있습니다. - `user` (object) 사용자 세부 사항(개체)입니다. - `user.country` (string) 사용자의 국가. [ISO 3166-1 alpha-2 standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)에 따른 2자로 된 국가 코드를 사용합니다. - `user.email` (string) 사용자 이메일. - `user.id` (string, required) 사용자 ID. - `user.ip` (string) 유저 IP 주소입니다. - `user.name` (string) 사용자 이름. - `user.zip` (string) 우편번호. ## Response 400 fields (application/json): - `error` (object) - `error.code` (string) - `error.message` (string) ## Response 204 fields ## Response 500 fields