Test and explore the Braintree Magento Link Checker API
GET : api.php
| Parameter | Type | Required | Description |
|---|---|---|---|
lista | String | Yes | The Braintree add to cart link to validate |
| Code | Meaning |
|---|---|
| #HQ | High Quality - Valid working link |
| #MID | Medium Quality - Working but limited |
| #INVALID | Invalid or dead link |
curl -X GET "https://yourdomain.com/api.php?lista=https://store1.com/name-of-product.html"
fetch('https://yourdomain.com/api.php?lista=' + encodeURIComponent(link))
.then(response => response.text())
.then(data => console.log(data));
import requests
link = "https://checkout.braintree.com/..."
response = requests.get(f"https://yourdomain.com/api.php?lista={link}")
print(response.text)