Get the latest submitted card confirmation
curl --request GET \
--url https://api.interchange.io/api/v2/billing/payment-methods/setup-attempt \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/billing/payment-methods/setup-attempt"
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/billing/payment-methods/setup-attempt', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"attempt": {
"id": "<string>",
"status": "processing",
"submittedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"failureReason": "verification_failed"
}
}{
"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": {}
}
}Buyer Billing
Get the latest submitted card confirmation
Returns the durable, vendor-neutral status of the latest submitted card confirmation. A processing attempt is inert and does not replace the currently verified card. The server reconciles canonical provider state before responding so this read can repair a missed webhook. Org-admin humans and eligible organization-bound service tokens may read it.
GET
/
billing
/
payment-methods
/
setup-attempt
Get the latest submitted card confirmation
curl --request GET \
--url https://api.interchange.io/api/v2/billing/payment-methods/setup-attempt \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/billing/payment-methods/setup-attempt"
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/billing/payment-methods/setup-attempt', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"attempt": {
"id": "<string>",
"status": "processing",
"submittedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"failureReason": "verification_failed"
}
}{
"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": {}
}
}