refundCreate got an error

Solved
viving
Tourist
7 1 0

I want to make a refund manually tho, I got an error. The below image is GraphiQL at that time.

Screen Shot 2020-07-21 at 5.29.49 PM.png

 

The below is Order information that I want to refund.

 

Screen Shot 2020-07-21 at 5.28.54 PM.png

When I deleted the parent_id, I got another error like this.

"Transactions not on 'store-credit', 'exchange-credit', or 'cash' gateways require a parent_id".

Do you guys any samples to refund?

 

0 Likes
viving
Tourist
7 1 0

This is an accepted solution.

I resolved it.

I set "gateway": "exchange-credit", instead of parent_id.

Thanks

0 Likes