Recover the active billing-readiness assertion(s) for a buyer account
curl --request GET \
--url https://api.interchange.io/api/v2/storefront/account-mappings/relationships/{relationshipId}/ready-to-invoice \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/account-mappings/relationships/{relationshipId}/ready-to-invoice"
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/storefront/account-mappings/relationships/{relationshipId}/ready-to-invoice', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"assertions": [
{
"id": "<string>",
"relationshipId": "<string>",
"invoiceParty": "operator",
"billingEntity": {},
"authority": "crm",
"evidence": {
"reference": "<string>",
"note": "<string>"
},
"state": "active",
"validFrom": "<string>",
"validUntil": "<string>",
"supersedesId": "<string>",
"createdAt": "<string>",
"createdBy": "<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": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Storefront
Recover the active billing-readiness assertion(s) for a buyer account
Returns every currently-active ready-to-invoice assertion for this account relationship (at most one per operator/advertiser party). A recovery surface for the assertion id needed to call revoke, once it is no longer visible on a pending review item (AdCP account-setup dispositions §5).
GET
/
account-mappings
/
relationships
/
{relationshipId}
/
ready-to-invoice
Recover the active billing-readiness assertion(s) for a buyer account
curl --request GET \
--url https://api.interchange.io/api/v2/storefront/account-mappings/relationships/{relationshipId}/ready-to-invoice \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/account-mappings/relationships/{relationshipId}/ready-to-invoice"
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/storefront/account-mappings/relationships/{relationshipId}/ready-to-invoice', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"assertions": [
{
"id": "<string>",
"relationshipId": "<string>",
"invoiceParty": "operator",
"billingEntity": {},
"authority": "crm",
"evidence": {
"reference": "<string>",
"note": "<string>"
},
"state": "active",
"validFrom": "<string>",
"validUntil": "<string>",
"supersedesId": "<string>",
"createdAt": "<string>",
"createdBy": "<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": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Authorizations
API key or access token
Path Parameters
Response
Recover the active billing-readiness assertion(s) for a buyer account
Every currently-active ready-to-invoice assertion for this relationship (at most one per invoiceParty and billing entity -- multiple different entities can each have one active at once).
Show child attributes
Show child attributes