Receiving the SDK Response

The callBackResponseFromPaysafeSDK delegate method of the PaysafePaymentAuthorizationProcessDelegate class provides the SDK response. This method will pass the response for both success and failure scenarios.

For response scenarios, please refer to


Use the callBackResponseFromPaysafeSDK method to return responses from the SDK.

func callBackResponseFromPaysafeSDK(response: [NSObject : AnyObject]!)

Response Scenarios

The callBackResponseFromPaysafeSDK method will return one of the responses below:

  • A payment token from Paysafe (by using single-use token). Single-use tokens are valid for only 15 minutes and are not consumed by verification.

  • A "Null" response due to network problems

  • An error response from Paysafe

        code = "Error code";
        links =
                href = "Reference link for the specied error.";
                rel = errorinfo;
        message = "Value";

We provide sample applications in Objective-C and Swift to help you integrate using Xcode simulator (in the Test environment only).

Did you find this page useful?