const createPayout =
async () => {
const response = await fetch("https://
api.spherepay.co/v1/
transfer", {
method: "POST",
headers: {
Authorization:
"Bearer
YOUR_API_TOKEN", "Content-Type": "application/json"
},
body: JSON.stringif...
const createPayout = async () => {
const response = await fetch("https://
api.spherepay.co/v1/transfer", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_TOKEN", "Content-Type": "application/json"
},
body: JSON.stringify({ amount: "10.00",
customer: "customer_f5bd32a91658467
5b739b8e2301f1480", source: {
id: "bankAccount