Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refund object missing attributes? #802

Open
tbhockey opened this issue Nov 25, 2021 · 0 comments
Open

Refund object missing attributes? #802

tbhockey opened this issue Nov 25, 2021 · 0 comments

Comments

@tbhockey
Copy link

tbhockey commented Nov 25, 2021

It seems like the Refund object returned by stripe-ruby-mock is missing some of the attributes expected in the Stripe API (https://stripe.com/docs/api/refunds/object)? For instance metadata. This is what I am getting back:

#<Stripe::Refund:0x1728c id=re_00000000000000> JSON: {                                                                                                        
  "id": "re_00000000000000", 
  "amount": 1000,
  "currency": "usd",
  "created": 1381080103,
  "object": "refund",
  "balance_transaction": "txn_123"
} 

Am I just misunderstanding something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant