Server Response
ArcPlay.ai servers will expect either a 200 or 403 response from your server.
Your server should respond with 200 only if:
the user has successfully been rewarded.
Your server should respond with 403 if:
the
signatureparameter does not match the calculated valuethe
userIdorclientIdparameter is unknown to your systemif there was any other error that should not be retried.
NOTE:
ArcPlay.ai will continue to retry if ArcPlay.ai servers receive any response other than
200or403.It is important that the user is not rewarded if you are giving a non-
200response, as ArcPlay.ai will continue to re-attempt the callback, possibly resulting in large numbers of duplicate rewards.We’ll retry every 5 minutes for 4 days.
If the request is sent twice or more, then the response should be
200for all times but the publisher should usetransactionIdas the unique identifier to detect if the request is duplicate and the user is not rewarded again.We will flag the request as failed if your server takes more than 5 seconds to respond.
The response body of the callback URL responses needs to be in
UTF-8. If they are not inUTF-8we will retry even if you return a200.
Last updated