#Amer Bearat

1 messages · Page 1 of 1 (latest)

restive pythonBOT
barren aspen
#

Before which step i need to verify the us_bank_account

zinc juniper
barren aspen
#

Map<String, Object> params = new Map<String, Object>{
  'amount' => 10000,
  'currency' => 'usd',
  'confirm' => true,
  'payment_method_data[type]' => 'us_bank_account',
  'payment_method_types[]' => 'us_bank_account',
  'payment_method_data[billing_details][name]' => 'John Doe',
  'payment_method_data[us_bank_account][account_holder_type]' => 'individual',
  'payment_method_data[us_bank_account][routing_number]' => '110000000',
  'payment_method_data[us_bank_account][account_number]' => '000123456789',
  'mandate_data[customer_acceptance][type]' => 'online',
  'mandate_data[customer_acceptance][online][ip_address]' => '127.0.0.1',
  'mandate_data[customer_acceptance][online][user_agent]' => 'Stripe Checkout'
};
 
what I need to include to this payload request to Save payment details during a payment
ARe those what i need to add
customer=customer['id'],
setup_future_usage='off_session',

#

i just tried out and it worked

zinc juniper
#

At a high level, yes.