Reputation: 95
I'm using the balanced payments v1.1 api and i'm trying to update the cardholder's name, but it's not getting updated and I don't get an error. Is 'name' a field you can't update?
$card = \Balanced\Card::get($queryString);
$card->name = $data['new_name'];
$card->save();
Upvotes: 0
Views: 53
Reputation: 1937
As you mentioned in a comment above, the fields listed on https://docs.balancedpayments.com/1.1/api/cards/#update-a-card, links and meta, are the only attributes that may be updated on a Card. The Card must be tokenized again if any data needs to be "changed".
Feel free to swing by #balanced on Freenode IRC if you have any further questions.
Upvotes: 2