Recover withdrawal links using a Sandbox verification code
Verify the shopper’s email recovery code and page the same inbox’s withdrawal links without reopening the original checkout.
POST
/
v1
/
buyer-sharing
/
recovery
/
verify
Recover withdrawal links using a Sandbox verification code
curl --request POST \
--url https://sandbox.ignite-checkout.ai/v1/buyer-sharing/recovery/verify \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"email": "<string>"
}
'import requests
url = "https://sandbox.ignite-checkout.ai/v1/buyer-sharing/recovery/verify"
payload = {
"code": "<string>",
"email": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({code: '<string>', email: '<string>'})
};
fetch('https://sandbox.ignite-checkout.ai/v1/buyer-sharing/recovery/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/buyer-sharing/recovery/verify';
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({code: '<string>', email: '<string>'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/buyer-sharing/recovery/verify"
payload := strings.NewReader("{\n \"code\": \"<string>\",\n \"email\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"items": [],
"next_cursor": null,
"verified": false
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}Body
application/json
⌘I
Recover withdrawal links using a Sandbox verification code
curl --request POST \
--url https://sandbox.ignite-checkout.ai/v1/buyer-sharing/recovery/verify \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"email": "<string>"
}
'import requests
url = "https://sandbox.ignite-checkout.ai/v1/buyer-sharing/recovery/verify"
payload = {
"code": "<string>",
"email": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({code: '<string>', email: '<string>'})
};
fetch('https://sandbox.ignite-checkout.ai/v1/buyer-sharing/recovery/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/buyer-sharing/recovery/verify';
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({code: '<string>', email: '<string>'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/buyer-sharing/recovery/verify"
payload := strings.NewReader("{\n \"code\": \"<string>\",\n \"email\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"items": [],
"next_cursor": null,
"verified": false
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}