Wird versendet, wenn ein Benutzer eine Zahlung abschließt. Enthält Zahlungsdaten.
notification_type required | string Art der Benachrichtigung. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object Details zur Transaktion (Objekt). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object Zahlungsdaten (Objekt). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
custom_parameters | object Ihre benutzerdefinierten Parameter. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Objekt, welches Angaben zum Kauf enthält. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Benutzerdefinierte Projekteinstellungen (Objekt). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Benutzerdaten (Objekt). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Zur Signalisierung einer erfolgreiche Verarbeitung.
Im Falle eines Fehlers in den bereitgestellten Daten (z. B. fehlender erforderlicher Parameter, fehlgeschlagene Autorisierung usw.).
Im Falle von temporären Fehlern mit Ihren Servern.
{- "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": 0,
- "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"
}, - "pin_codes": {
- "amount": 0,
- "currency": "string",
- "digital_content": "string",
- "drm": "steam",
- "upgrade": {
- "amount": 0,
- "currency": "string",
- "digital_content_from": {
- "DRM": "string",
- "digital_content": "string"
}, - "digital_content_to": {
- "DRM": "string",
- "digital_content": "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"
}, - "virtual_currency": {
- "amount": 0,
- "currency": "string",
- "name": "string",
- "quantity": 0,
- "sku": "string"
}, - "virtual_items": {
- "amount": 0,
- "currency": "string",
- "items": [
- {
- "amount": 0,
- "sku": "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"
}
}