New Shopify Certification now available: Liquid Storefronts for Theme Developers

Submitting an evidence via the API

zohar53
Visitor
1 0 0
 

As I can see over here: Upload evidence 

Theres a new endpoint in the unstable version that enable us to send it via the API


I've made the auto chargeback using the test card code 4000000000000259

Im working with the unstable version of the REST API in postman, trying to submit evidence for the chargeback id 9052586146 and i get an error: { "errors": "Not Found" }

 

In curl as well:

curl -X PUT "https://<my-store>.myshopify.com/admin/api/unstable/shopify_payments/disputes/<chargebacknumber>/dispute_evidences.json?dispute_evidence%5Brefund_refusal_explanation%5D=Product+must+have+receipt+of+proof+of+purchase" \

-H "X-Shopify-Access-Token: <my-token>"

response: 

{"errors":"Not Found"}                                                    

 

 

 

 

Replies 0 (0)