List the caller's storefront-account grants
curl --request GET \
--url https://api.interchange.io/api/v2/buyer/storefront-accounts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/buyer/storefront-accounts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/buyer/storefront-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"accounts": [
{
"brand": {
"domain": "<string>"
},
"operator": "<string>",
"status": "active",
"account_id": "<string>",
"name": "<string>",
"sandbox": true
}
],
"pagination": {
"has_more": true,
"cursor": "<string>"
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Buyer Storefront Accounts
List the caller's storefront-account grants
Return the caller’s account grants on one MANAGED storefront. Paused and archived storefronts remain readable so a buyer can inspect grants that survived a seller-side halt; external-adapter storefronts are rejected because the local linking service has no rows for them.
GET
/
storefront-accounts
List the caller's storefront-account grants
curl --request GET \
--url https://api.interchange.io/api/v2/buyer/storefront-accounts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/buyer/storefront-accounts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/buyer/storefront-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"accounts": [
{
"brand": {
"domain": "<string>"
},
"operator": "<string>",
"status": "active",
"account_id": "<string>",
"name": "<string>",
"sandbox": true
}
],
"pagination": {
"has_more": true,
"cursor": "<string>"
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Authorizations
API key or access token
Query Parameters
Required range:
0 < x <= 9007199254740991Available options:
active, pending_approval, rejected, payment_required, suspended, closed Filter by sandbox mode.
Required range:
0 < x <= 250