我正在尝试在单个用户对象上存储多个源(卡)。
假设我有一个客户已经存储了一个源。
然后使用新的源令牌执行以下操作
stripe.customers.update(customer, {source:call.request.source}, function(err, updatedCustomer){
if(err){
return console.log(err);
}
console.log(updatedCustomer.sources.data);
})
当我这样做时,客户现有的源将丢失,新的源将被存储。
如何将多个来源存储在同一个客户身上?