Record a submitted card confirmation (admin)
curl --request POST \
--url https://api.interchange.io/api/v2/billing/payment-methods/setup/{id}/submitted \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/billing/payment-methods/setup/{id}/submitted"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/billing/payment-methods/setup/{id}/submitted', 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": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Buyer Billing
Record a submitted card confirmation (admin)
Reserves a persisted setup attempt immediately before embedded confirmation is sent to the card processor. This does not make the card usable; only canonical provider verification can do that. Rejects a second active submission while another confirmation is processing. Org-admin humans only — service tokens are denied.
POST
/
billing
/
payment-methods
/
setup
/
{id}
/
submitted
Record a submitted card confirmation (admin)
curl --request POST \
--url https://api.interchange.io/api/v2/billing/payment-methods/setup/{id}/submitted \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/billing/payment-methods/setup/{id}/submitted"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/billing/payment-methods/setup/{id}/submitted', 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": {}
}
}{
"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
Surrogate id of the card setup attempt.
Pattern:
^\d+$Response
Record a submitted card confirmation (admin)
The latest submitted card setup attempt. It contains no card data, provider identifiers, or client secret.
Show child attributes
Show child attributes