I am implementing a custom Stripe SDK and as a test I have a method called pay:
-(void)pay{
STPCardParams *cardParams = [[STPCardParams alloc] init];
cardParams.number = @"4242424242424242";
cardParams.expMonth = 10;
cardParams.expYear = 2018;
cardParams.cvc = @"123";
[[STPAPIClient sharedClient] createTokenWithCard:cardParams completion:^(STPToken *token, NSError *error) {
    if (error) {
        // show the error, maybe by presenting an alert to the user
    } else {
        [self submitTokenToBackend:token completion:^(NSError *error) {
            if (error) {
                // show the error
            } else {
                //[self showReceiptPage];
            }
        }];
    }
}];
}
I am going to create the backend script to charge, but my issue is actually just creating the method to take in: submitTokenToBackend:token completion:^(NSError *error)
I tried: 
-(void)submitTokenToBackend:(STPToken *)token: (NSError*) error{
But this is not working...any ideas how I would make that method?
 
    