Open zemerick1 opened 5 years ago
Token does not need to be stored (only good for one use). It just needs to be created and the stripe API call with create the account there.
curl -X POST \
https://development.plaid.com/processor/stripe/bank_account_token/create \
-H 'Content-Type: application/json' \
-d '{
"client_id": "client_id",
"secret": "super secret",
"access_token": "a_token",
"account_id": "accountid"
}'
\Stripe\Customer::create([
"description" => "Customer for jenny.rosen@example.com",
"source" => "tok_visa" // created token
]);
Since the move to dwolla-- I need to provide the same thing only using Dwolla's API.
Needs to be done during account creation.
For testing we can setup the tokens manually.