EDIT: I created another answer specifically to get the token for bank_account. This answer usually consisted of how to make a call using the back end of the parsing using an example of creating a receiver.
The documentation on the schip is a bit here, the call to create the bank_account token is made using the file available for publication directly from the application. Make sure you are not using your secret key in the iOS application itself. Only your public key should be used through:
[Stripe setDefaultPublishableKey:@"pk_test_your_test_key_here"];
You need to use the web end to implement the full functionality of the payment system. In ios sdk, they include only until you receive a token with a credit card. At the end of your website you are implementing a secret key. I use parse.com as my backend for the band, but many implement their own.
Stripe ios Tutorial 
Below is a simple cloud-based httpRequest code that can perform the most complex tasks. Give it the method, prefix, suffix, postfix, and then query parameters. I'm not saying this is the best way to implement stripe httpRequests, but it covers the basics for you to start working on it. The code below is verified and it works, I created the recipient john doe in a test test test program.
Pause Cloud Code:
var Stripe = require('stripe'); var STRIPE_SECRET_KEY = 'sk_test_yoursecretkeyhere'; var STRIPE_API_BASE_URL = 'api.stripe.com/v1/' Stripe.initialize(STRIPE_SECRET_KEY); Parse.Cloud.define("stripeHTTPRequest", function(request, response) { //check for suffix, and postfix var suffix = ""; if (!isEmpty(request.params["suffix"])) { suffix = '/'+request.params['suffix']; } var postfix = ""; if (!isEmpty(request.params["postfix"])) { postfix = '/'+request.params['postfix']; } Parse.Cloud.httpRequest({ method: request.params["method"], url: 'https://' + STRIPE_SECRET_KEY + ':@' + STRIPE_API_BASE_URL + request.params["prefix"] + suffix + postfix, params:request.params["parameters"], success: function(httpResponse) { response.success(httpResponse.text); }, error: function(httpResponse) { response.error('Request failed with response code' + httpResponse.status); } }); }); function isEmpty(obj) { // null and undefined are "empty" if (obj == null) return true; // Assume if it has a length property with a non-zero value // that that property is correct. if (obj.length > 0) return false; if (obj.length === 0) return true; // Otherwise, does it have any properties of its own? // Note that this doesn't handle // toString and valueOf enumeration bugs in IE < 9 for (var key in obj) { if (hasOwnProperty.call(obj, key)) return false; } return true; }
So, when it comes to creating a recipient, you will feed it with the βPOSTβ method and the βrecipientsβ prefix and leave the suffix and postfix empty. This would create a URL like this:
https://sk_test_yoursecretkeyhere:@api.stripe.com/v1/recipients
In addition to the method and pre / suf / postfix, you will need to supply its parameters. You can do this by sending a dictionary of key objects. Using the Stripe documentation, create a recipient named john doe:
-d "name=John Doe" \ -d type=individual \ -d tax_id=000000000 \ -d " email=test@example.com " \ -d "description=Recipient for John Doe"
Here is a cloud iOS call using the John Doe example. I applied the general method by which you pass the method, pre / suf / postfix and parameters. Then I create many additional methods for processing calls to a specific band, for example, to create a recipient.
ViewController.m
-(void)createJohnDoe { NSDictionary *parameters = @{@"name":@"John Doe", @"type":@"individual", @"tax_id":@"000000000", @"email":@" test@example.com ", @"description":@"Recipient for John Doe" }; [ELStripe executeStripeCloudCodeWithMethod:@"POST" prefix:@"recipients" suffix:nil postfix:nil parameters:parameters completionHandler:^(id jsonObject, NSError *error) {
ELStripe.m
//Completion Handler Definition. typedef void (^ELStripeCompletionBlock)(id jsonObject, NSError *error); +(void)executeStripeCloudCodeWithMethod:(NSString *)method prefix:(NSString *)prefix suffix:(NSString *)suffix postfix:(NSString *)postfix parameters:(NSDictionary *)parameters completionHandler:(ELStripeCompletionBlock)handler { [PFCloud callFunctionInBackground:@"stripeHTTPRequest" withParameters:@{@"method":method, @"prefix":prefix?prefix:@"", @"suffix":suffix?suffix:@"", @"postfix":postfix?postfix:@"", @"parameters":parameters} block:^(id object, NSError *error) { id jsonObject; if (!error) { NSError *jsonError = nil; jsonObject = [NSJSONSerialization JSONObjectWithData:[object dataUsingEncoding:NSUTF8StringEncoding] options:kNilOptions error:&jsonError]; } handler(jsonObject,error); }]; }