We will be making API calls to your server to obtain game activation codes after each successful payment.
notification_type | string Notification type. | ||||
object Custom project settings (object). | |||||
| |||||
object User details (object). | |||||
object Game keys details (object). | |||||
Return the game key.
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.
curl -v 'https://your.hostname/your/uri' \ -X POST \ -H 'accept: application/json' \ -H 'content-type: application/json' \ -H 'authorization: Signature 13342703ccaca5064ad33ba451d800c5e823db8f' \ -d '{ "notification_type": "get_pincode", "settings": { "project_id": 18404, "merchant_id": 2340 }, "user": { "id": "1234567", "name": "Xsolla User" }, "pin_code": { "digital_content": "Game SKU", "DRM": "Steam" } }'
{- "pin_code": "AAA-BBB-CCC-DDD"
}