게임유저가 결제 프로세스를 완료할 때마다 트랜잭션 세부 사항을 결제 알림 스크립트에 보냅니다.
notification_type required | string 알림 유형입니다. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object 트랜잭션 데이터 관련 값입니다. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object 결제 내역 관련 값입니다. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
custom_parameters | object 사용자 지정 파라미터입니다. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object 구매 데이터 관련 값입니다. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object 사용자 정의 프로젝트 설정(개체)입니다. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object 사용자 세부 사항(개체)입니다. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
성공적인 처리 표시를 반환합니다.
제공된 정보에 오류가 있는 경우 반환됩니다(예: 필수 매개변수 누락, 인증 실패 등). 이 경우 사용자의 돈은 인출되지만 구매는 실패합니다. 환불을 진행하려면 support@xsolla.com으로 엑솔라 고객 지원에 문의해 주세요.
서버에 일시적인 오류가 있음을 표시하려면 돌아가세요.
{- "custom_parameters": { },
- "notification_type": "string",
- "payment_details": {
- "direct_wht": {
- "amount": 0,
- "currency": "string",
- "percent": 0
}, - "payment": {
- "amount": 0,
- "currency": "string"
}, - "payment_method_fee": {
- "amount": 0,
- "currency": "string"
}, - "payment_method_sum": {
- "amount": 0,
- "currency": "string"
}, - "payout": {
- "amount": 0,
- "currency": "string"
}, - "payout_currency_rate": "string",
- "repatriation_commission": {
- "amount": 0,
- "currency": "string"
}, - "sales_tax": {
- "amount": 0,
- "currency": "string",
- "percent": 0
}, - "vat": {
- "amount": 0,
- "currency": "string",
- "percent": 0
}, - "xsolla_balance_sum": {
- "amount": 0,
- "currency": "string"
}, - "xsolla_fee": {
- "amount": 0,
- "currency": "string"
}
}, - "purchase": {
- "checkout": {
- "amount": 0,
- "currency": "string"
}, - "coupon": {
- "campaign_code": "string",
- "coupon_code": "string"
}, - "gift": {
- "giver_id": "string",
- "hide_giver_from_receiver": "string",
- "message": "string",
- "receiver_email": "string",
- "receiver_id": "string"
}, - "order": {
- "id": 0,
- "lineitems": {
- "price": {
- "amount": null,
- "currency": "string"
}, - "quantity": 0,
- "sku": "string"
}
}, - "promotions": [
- {
- "id": 0,
- "technical_name": "string"
}
], - "subscription": {
- "amount": 0,
- "currency": "string",
- "date_create": "string",
- "date_next_charge": "string",
- "plan_id": "string",
- "product_id": "string",
- "subscription_id": 0,
- "tags": [
- "string"
]
}, - "total": {
- "amount": 0,
- "currency": "string"
}
}, - "settings": {
- "merchant_id": 0,
- "project_id": 0
}, - "transaction": {
- "agreement": 0,
- "dry_run": 0,
- "external_id": "string",
- "id": 0,
- "payment_date": "string",
- "payment_method": 0,
- "payment_method_name": "string",
- "payment_method_order_id": "string"
}, - "user": {
- "country": "string",
- "email": "string",
- "id": "string",
- "ip": "string",
- "name": "string",
- "phone": "string",
- "zip": "string"
}
}
{- "error": {
- "code": "INCORRECT_AMOUNT",
- "message": "Incorrect amount"
}
}