Sent whenever a user adds a payment account manually or saves payment account when purchasing something inside the game. To enable this notification, contact the Account Manager.
notification_type required | string Type of notification. | ||||||||||||
object Custom project settings (object). | |||||||||||||
object User details (object). | |||||||||||||
| |||||||||||||
object Payment account details (object). | |||||||||||||
|
Return to indicate successful processing.
Return in case of an error in the provided information (e.g., a required parameter missing, failed authorization, etc.).
Return to indicate temporary errors with your servers.
{- "notification_type": "string",
- "settings": {
- "project_id": 0,
- "merchant_id": 0
}, - "user": {
- "ip": "string",
- "email": "string",
- "id": "string",
- "name": "string",
- "country": "string",
- "zip": "string"
}, - "payment_account": {
- "id": "string",
- "name": "string",
- "payment_method": 0,
- "country": "string",
- "type": "string"
}
}
{- "error": {
- "code": "INVALID_USER",
- "message": "Invalid user"
}
}