Create merchant report
curl --request POST \
--url https://api.natural.com/merchant-reports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"attributes": {
"merchantUrl": "https://www.example-air.com/booking/payment",
"outcome": "proxy_error",
"cardSessionId": "csn_01a0e6466ba3713bba0f0d9d36803b92",
"proxyErrorCode": "card_proxy_adyen_checkout_unknown",
"checkout": {
"cardFieldOrigin": "https://checkoutshopper-live.adyen.com",
"processorSdkUrl": "https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js",
"processorSdkVersion": "6.35.0",
"submitUrl": "POST https://www.example-air.com/payments/v2/create_payment",
"submitContentType": "application/json",
"cardFieldNames": [
"payment_method.encryptedCardNumber",
"payment_method.encryptedSecurityCode"
],
"errorText": "Your payment has been refused. Please try again with a different payment method."
},
"notes": "Card fields were on screen before the claim; the first Pay was refused, a reload fixed it."
}
}
}
'import requests
url = "https://api.natural.com/merchant-reports"
payload = { "data": { "attributes": {
"merchantUrl": "https://www.example-air.com/booking/payment",
"outcome": "proxy_error",
"cardSessionId": "csn_01a0e6466ba3713bba0f0d9d36803b92",
"proxyErrorCode": "card_proxy_adyen_checkout_unknown",
"checkout": {
"cardFieldOrigin": "https://checkoutshopper-live.adyen.com",
"processorSdkUrl": "https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js",
"processorSdkVersion": "6.35.0",
"submitUrl": "POST https://www.example-air.com/payments/v2/create_payment",
"submitContentType": "application/json",
"cardFieldNames": ["payment_method.encryptedCardNumber", "payment_method.encryptedSecurityCode"],
"errorText": "Your payment has been refused. Please try again with a different payment method."
},
"notes": "Card fields were on screen before the claim; the first Pay was refused, a reload fixed it."
} } }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
data: {
attributes: {
merchantUrl: 'https://www.example-air.com/booking/payment',
outcome: 'proxy_error',
cardSessionId: 'csn_01a0e6466ba3713bba0f0d9d36803b92',
proxyErrorCode: 'card_proxy_adyen_checkout_unknown',
checkout: {
cardFieldOrigin: 'https://checkoutshopper-live.adyen.com',
processorSdkUrl: 'https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js',
processorSdkVersion: '6.35.0',
submitUrl: 'POST https://www.example-air.com/payments/v2/create_payment',
submitContentType: 'application/json',
cardFieldNames: ['payment_method.encryptedCardNumber', 'payment_method.encryptedSecurityCode'],
errorText: 'Your payment has been refused. Please try again with a different payment method.'
},
notes: 'Card fields were on screen before the claim; the first Pay was refused, a reload fixed it.'
}
}
})
};
fetch('https://api.natural.com/merchant-reports', 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.natural.com/merchant-reports",
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([
'data' => [
'attributes' => [
'merchantUrl' => 'https://www.example-air.com/booking/payment',
'outcome' => 'proxy_error',
'cardSessionId' => 'csn_01a0e6466ba3713bba0f0d9d36803b92',
'proxyErrorCode' => 'card_proxy_adyen_checkout_unknown',
'checkout' => [
'cardFieldOrigin' => 'https://checkoutshopper-live.adyen.com',
'processorSdkUrl' => 'https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js',
'processorSdkVersion' => '6.35.0',
'submitUrl' => 'POST https://www.example-air.com/payments/v2/create_payment',
'submitContentType' => 'application/json',
'cardFieldNames' => [
'payment_method.encryptedCardNumber',
'payment_method.encryptedSecurityCode'
],
'errorText' => 'Your payment has been refused. Please try again with a different payment method.'
],
'notes' => 'Card fields were on screen before the claim; the first Pay was refused, a reload fixed it.'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.natural.com/merchant-reports"
payload := strings.NewReader("{\n \"data\": {\n \"attributes\": {\n \"merchantUrl\": \"https://www.example-air.com/booking/payment\",\n \"outcome\": \"proxy_error\",\n \"cardSessionId\": \"csn_01a0e6466ba3713bba0f0d9d36803b92\",\n \"proxyErrorCode\": \"card_proxy_adyen_checkout_unknown\",\n \"checkout\": {\n \"cardFieldOrigin\": \"https://checkoutshopper-live.adyen.com\",\n \"processorSdkUrl\": \"https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js\",\n \"processorSdkVersion\": \"6.35.0\",\n \"submitUrl\": \"POST https://www.example-air.com/payments/v2/create_payment\",\n \"submitContentType\": \"application/json\",\n \"cardFieldNames\": [\n \"payment_method.encryptedCardNumber\",\n \"payment_method.encryptedSecurityCode\"\n ],\n \"errorText\": \"Your payment has been refused. Please try again with a different payment method.\"\n },\n \"notes\": \"Card fields were on screen before the claim; the first Pay was refused, a reload fixed it.\"\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.natural.com/merchant-reports")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"data\": {\n \"attributes\": {\n \"merchantUrl\": \"https://www.example-air.com/booking/payment\",\n \"outcome\": \"proxy_error\",\n \"cardSessionId\": \"csn_01a0e6466ba3713bba0f0d9d36803b92\",\n \"proxyErrorCode\": \"card_proxy_adyen_checkout_unknown\",\n \"checkout\": {\n \"cardFieldOrigin\": \"https://checkoutshopper-live.adyen.com\",\n \"processorSdkUrl\": \"https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js\",\n \"processorSdkVersion\": \"6.35.0\",\n \"submitUrl\": \"POST https://www.example-air.com/payments/v2/create_payment\",\n \"submitContentType\": \"application/json\",\n \"cardFieldNames\": [\n \"payment_method.encryptedCardNumber\",\n \"payment_method.encryptedSecurityCode\"\n ],\n \"errorText\": \"Your payment has been refused. Please try again with a different payment method.\"\n },\n \"notes\": \"Card fields were on screen before the claim; the first Pay was refused, a reload fixed it.\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.natural.com/merchant-reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"data\": {\n \"attributes\": {\n \"merchantUrl\": \"https://www.example-air.com/booking/payment\",\n \"outcome\": \"proxy_error\",\n \"cardSessionId\": \"csn_01a0e6466ba3713bba0f0d9d36803b92\",\n \"proxyErrorCode\": \"card_proxy_adyen_checkout_unknown\",\n \"checkout\": {\n \"cardFieldOrigin\": \"https://checkoutshopper-live.adyen.com\",\n \"processorSdkUrl\": \"https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js\",\n \"processorSdkVersion\": \"6.35.0\",\n \"submitUrl\": \"POST https://www.example-air.com/payments/v2/create_payment\",\n \"submitContentType\": \"application/json\",\n \"cardFieldNames\": [\n \"payment_method.encryptedCardNumber\",\n \"payment_method.encryptedSecurityCode\"\n ],\n \"errorText\": \"Your payment has been refused. Please try again with a different payment method.\"\n },\n \"notes\": \"Card fields were on screen before the claim; the first Pay was refused, a reload fixed it.\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"reportId": "mrp_01a0e6466ba3713bba0f0d9d36803b92",
"merchantHost": "www.example-air.com",
"outcome": "proxy_error",
"createdAt": "2026-10-19T00:12:00.000Z"
}
}Browser tokens
Create merchant report
Report a merchant checkout you couldn’t pay with a browser token. Natural uses the details to add support for the merchant or its processor.
POST
/
merchant-reports
Create merchant report
curl --request POST \
--url https://api.natural.com/merchant-reports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"attributes": {
"merchantUrl": "https://www.example-air.com/booking/payment",
"outcome": "proxy_error",
"cardSessionId": "csn_01a0e6466ba3713bba0f0d9d36803b92",
"proxyErrorCode": "card_proxy_adyen_checkout_unknown",
"checkout": {
"cardFieldOrigin": "https://checkoutshopper-live.adyen.com",
"processorSdkUrl": "https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js",
"processorSdkVersion": "6.35.0",
"submitUrl": "POST https://www.example-air.com/payments/v2/create_payment",
"submitContentType": "application/json",
"cardFieldNames": [
"payment_method.encryptedCardNumber",
"payment_method.encryptedSecurityCode"
],
"errorText": "Your payment has been refused. Please try again with a different payment method."
},
"notes": "Card fields were on screen before the claim; the first Pay was refused, a reload fixed it."
}
}
}
'import requests
url = "https://api.natural.com/merchant-reports"
payload = { "data": { "attributes": {
"merchantUrl": "https://www.example-air.com/booking/payment",
"outcome": "proxy_error",
"cardSessionId": "csn_01a0e6466ba3713bba0f0d9d36803b92",
"proxyErrorCode": "card_proxy_adyen_checkout_unknown",
"checkout": {
"cardFieldOrigin": "https://checkoutshopper-live.adyen.com",
"processorSdkUrl": "https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js",
"processorSdkVersion": "6.35.0",
"submitUrl": "POST https://www.example-air.com/payments/v2/create_payment",
"submitContentType": "application/json",
"cardFieldNames": ["payment_method.encryptedCardNumber", "payment_method.encryptedSecurityCode"],
"errorText": "Your payment has been refused. Please try again with a different payment method."
},
"notes": "Card fields were on screen before the claim; the first Pay was refused, a reload fixed it."
} } }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
data: {
attributes: {
merchantUrl: 'https://www.example-air.com/booking/payment',
outcome: 'proxy_error',
cardSessionId: 'csn_01a0e6466ba3713bba0f0d9d36803b92',
proxyErrorCode: 'card_proxy_adyen_checkout_unknown',
checkout: {
cardFieldOrigin: 'https://checkoutshopper-live.adyen.com',
processorSdkUrl: 'https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js',
processorSdkVersion: '6.35.0',
submitUrl: 'POST https://www.example-air.com/payments/v2/create_payment',
submitContentType: 'application/json',
cardFieldNames: ['payment_method.encryptedCardNumber', 'payment_method.encryptedSecurityCode'],
errorText: 'Your payment has been refused. Please try again with a different payment method.'
},
notes: 'Card fields were on screen before the claim; the first Pay was refused, a reload fixed it.'
}
}
})
};
fetch('https://api.natural.com/merchant-reports', 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.natural.com/merchant-reports",
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([
'data' => [
'attributes' => [
'merchantUrl' => 'https://www.example-air.com/booking/payment',
'outcome' => 'proxy_error',
'cardSessionId' => 'csn_01a0e6466ba3713bba0f0d9d36803b92',
'proxyErrorCode' => 'card_proxy_adyen_checkout_unknown',
'checkout' => [
'cardFieldOrigin' => 'https://checkoutshopper-live.adyen.com',
'processorSdkUrl' => 'https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js',
'processorSdkVersion' => '6.35.0',
'submitUrl' => 'POST https://www.example-air.com/payments/v2/create_payment',
'submitContentType' => 'application/json',
'cardFieldNames' => [
'payment_method.encryptedCardNumber',
'payment_method.encryptedSecurityCode'
],
'errorText' => 'Your payment has been refused. Please try again with a different payment method.'
],
'notes' => 'Card fields were on screen before the claim; the first Pay was refused, a reload fixed it.'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.natural.com/merchant-reports"
payload := strings.NewReader("{\n \"data\": {\n \"attributes\": {\n \"merchantUrl\": \"https://www.example-air.com/booking/payment\",\n \"outcome\": \"proxy_error\",\n \"cardSessionId\": \"csn_01a0e6466ba3713bba0f0d9d36803b92\",\n \"proxyErrorCode\": \"card_proxy_adyen_checkout_unknown\",\n \"checkout\": {\n \"cardFieldOrigin\": \"https://checkoutshopper-live.adyen.com\",\n \"processorSdkUrl\": \"https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js\",\n \"processorSdkVersion\": \"6.35.0\",\n \"submitUrl\": \"POST https://www.example-air.com/payments/v2/create_payment\",\n \"submitContentType\": \"application/json\",\n \"cardFieldNames\": [\n \"payment_method.encryptedCardNumber\",\n \"payment_method.encryptedSecurityCode\"\n ],\n \"errorText\": \"Your payment has been refused. Please try again with a different payment method.\"\n },\n \"notes\": \"Card fields were on screen before the claim; the first Pay was refused, a reload fixed it.\"\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.natural.com/merchant-reports")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"data\": {\n \"attributes\": {\n \"merchantUrl\": \"https://www.example-air.com/booking/payment\",\n \"outcome\": \"proxy_error\",\n \"cardSessionId\": \"csn_01a0e6466ba3713bba0f0d9d36803b92\",\n \"proxyErrorCode\": \"card_proxy_adyen_checkout_unknown\",\n \"checkout\": {\n \"cardFieldOrigin\": \"https://checkoutshopper-live.adyen.com\",\n \"processorSdkUrl\": \"https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js\",\n \"processorSdkVersion\": \"6.35.0\",\n \"submitUrl\": \"POST https://www.example-air.com/payments/v2/create_payment\",\n \"submitContentType\": \"application/json\",\n \"cardFieldNames\": [\n \"payment_method.encryptedCardNumber\",\n \"payment_method.encryptedSecurityCode\"\n ],\n \"errorText\": \"Your payment has been refused. Please try again with a different payment method.\"\n },\n \"notes\": \"Card fields were on screen before the claim; the first Pay was refused, a reload fixed it.\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.natural.com/merchant-reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"data\": {\n \"attributes\": {\n \"merchantUrl\": \"https://www.example-air.com/booking/payment\",\n \"outcome\": \"proxy_error\",\n \"cardSessionId\": \"csn_01a0e6466ba3713bba0f0d9d36803b92\",\n \"proxyErrorCode\": \"card_proxy_adyen_checkout_unknown\",\n \"checkout\": {\n \"cardFieldOrigin\": \"https://checkoutshopper-live.adyen.com\",\n \"processorSdkUrl\": \"https://checkoutshopper-live.cdn.adyen.com/checkoutshopper/sdk/6.35.0/adyen.js\",\n \"processorSdkVersion\": \"6.35.0\",\n \"submitUrl\": \"POST https://www.example-air.com/payments/v2/create_payment\",\n \"submitContentType\": \"application/json\",\n \"cardFieldNames\": [\n \"payment_method.encryptedCardNumber\",\n \"payment_method.encryptedSecurityCode\"\n ],\n \"errorText\": \"Your payment has been refused. Please try again with a different payment method.\"\n },\n \"notes\": \"Card fields were on screen before the claim; the first Pay was refused, a reload fixed it.\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"reportId": "mrp_01a0e6466ba3713bba0f0d9d36803b92",
"merchantHost": "www.example-air.com",
"outcome": "proxy_error",
"createdAt": "2026-10-19T00:12:00.000Z"
}
}Authorizations
Headers
Was this page helpful?