Verify magic link
Public, cart-token–scoped. Confirms a magic-link challenge: submit the
uuid returned by POST …/auth/magic_link together with the customer’s
verification_code. On success the customer is bound to the cart (200);
a challenge issued for a membership-only or wallet-only identity has its
customer record created at this point, once the code has proven the
mailbox. The
credential is the cart token plus the verification code — no bearer
token is required. Status mapping: 410 when the verification code has
expired, when the cart has already been processed, or when it is a
locked/authorized enrollment cart; 422 when the verification code is
invalid or incorrect (or the verification-channel target is missing);
404 when the challenge uuid is unknown, the associated customer cannot
be found (including a customer deleted after the challenge was issued), or
the cart token is unknown.
curl --request POST \
--url https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify \
--header 'Content-Type: application/json' \
--data '
{
"uuid": "mfa_3Fd8Qw",
"multi_factor_authentication": {
"verification_code": "123456"
}
}
'import requests
url = "https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify"
payload = {
"uuid": "mfa_3Fd8Qw",
"multi_factor_authentication": { "verification_code": "123456" }
}
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({uuid: 'mfa_3Fd8Qw', multi_factor_authentication: {verification_code: '123456'}})
};
fetch('https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'uuid' => 'mfa_3Fd8Qw',
'multi_factor_authentication' => [
'verification_code' => '123456'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify"
payload := strings.NewReader("{\n \"uuid\": \"mfa_3Fd8Qw\",\n \"multi_factor_authentication\": {\n \"verification_code\": \"123456\"\n }\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))
}HttpResponse<String> response = Unirest.post("https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify")
.header("Content-Type", "application/json")
.body("{\n \"uuid\": \"mfa_3Fd8Qw\",\n \"multi_factor_authentication\": {\n \"verification_code\": \"123456\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"uuid\": \"mfa_3Fd8Qw\",\n \"multi_factor_authentication\": {\n \"verification_code\": \"123456\"\n }\n}"
response = http.request(request)
puts response.read_body{
"auth_type": "<string>",
"authenticated": true,
"jwt": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"shop_url": "<string>",
"cart": "<unknown>"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Path Parameters
Cart token
Body
curl --request POST \
--url https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify \
--header 'Content-Type: application/json' \
--data '
{
"uuid": "mfa_3Fd8Qw",
"multi_factor_authentication": {
"verification_code": "123456"
}
}
'import requests
url = "https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify"
payload = {
"uuid": "mfa_3Fd8Qw",
"multi_factor_authentication": { "verification_code": "123456" }
}
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({uuid: 'mfa_3Fd8Qw', multi_factor_authentication: {verification_code: '123456'}})
};
fetch('https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'uuid' => 'mfa_3Fd8Qw',
'multi_factor_authentication' => [
'verification_code' => '123456'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify"
payload := strings.NewReader("{\n \"uuid\": \"mfa_3Fd8Qw\",\n \"multi_factor_authentication\": {\n \"verification_code\": \"123456\"\n }\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))
}HttpResponse<String> response = Unirest.post("https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify")
.header("Content-Type", "application/json")
.body("{\n \"uuid\": \"mfa_3Fd8Qw\",\n \"multi_factor_authentication\": {\n \"verification_code\": \"123456\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth/verify")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"uuid\": \"mfa_3Fd8Qw\",\n \"multi_factor_authentication\": {\n \"verification_code\": \"123456\"\n }\n}"
response = http.request(request)
puts response.read_body{
"auth_type": "<string>",
"authenticated": true,
"jwt": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"shop_url": "<string>",
"cart": "<unknown>"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}