function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ManojSankaranManojSankaran 

json formatting for stripe integration

Hi Team,

I am trying to integrate Stripe(Payment Gateway) with Salesforce. In which i have a requirement to send amount to stripe so that stripe will verify my bank account. I am facing few issues with the request that i am sending from salesforce.
Below is the JSON Format that Stripe is expecting.
{
 "amounts": ["32","45"]
}

I am sending similar format as above from salesforce but when i check in Stripe Console the request looks like this
{
 "amounts": "["32","45"]"
}

If any one faced such issues kindly help me with that.