Refund solve error

When I call the api to process the refund I get the following error, Does anyone know why?

{"errors":[{"message":"Internal error. Looks like something went wrong on our end.\nRequest ID: 716fcb62-820f-4ee9-acb3-b2ca4d4baf9e (include this in support requests).","extensions":{"code":"INTERNAL_SERVER_ERROR","requestId":"716fcb62-820f-4ee9-acb3-b2ca4d4baf9e"}}]}

Is the payment app for the payment method already setup?

The communication between the payment app and Shopify is secured via Mtsl, so its possible if you are hitting this API locally, it wont work.

Thanks for your reply.

Payment method already setup.

Communication between the app and Shopify is initiated from my server

Hi @nihao_pay

Thanks for including the x-request-id - I had a look in the logs and it appears that the token is not being found on the shop. Can you double check that the token is correct? It’s worth noting that the resolve step happens at the end of the process, after the app sends a 201 created response to the session request from Shopify.

Regards,