Venmo Shipping Callback shipping callback
PayPal’s server-side shipping callback for Venmo orders. PayPal’s servers call this, not the buyer’s browser: once the buyer is switched into the Venmo app no client-side shipping callback can run, so this is where the cart is repriced. The request carries a coarse address (country, admin areas and postal code, no street) and, when the buyer picked a different shipping option in Venmo, a shipping_option; its presence is what distinguishes the two callbacks. The chosen option is applied before repricing. The response body is the update itself: PayPal applies the returned purchase_units rather than Fluid patching the order, so this action does not use the { success, order_id, meta } envelope. Declines use PayPal’s 422 shape (MISSING_SHIPPING_ADDRESS, MISSING_ORDER_ID, SHIPPING_UNAVAILABLE, CART_TOTAL_UNAVAILABLE or PRICING_STALE), and a declined address is removed from the cart again. No Bearer token; the cart is addressed by cart_token.
curl --request POST \
--url https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/venmo_shipping_callback \
--header 'Content-Type: application/json' \
--data '
{
"id": "5O190127TN364715T",
"shipping_address": {
"admin_area_1": "PA",
"admin_area_2": "Scranton",
"postal_code": "18505",
"country_code": "US"
},
"purchase_units": [
{
"reference_id": "default"
}
]
}
'import requests
url = "https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/venmo_shipping_callback"
payload = {
"id": "5O190127TN364715T",
"shipping_address": {
"admin_area_1": "PA",
"admin_area_2": "Scranton",
"postal_code": "18505",
"country_code": "US"
},
"purchase_units": [{ "reference_id": "default" }]
}
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({
id: '5O190127TN364715T',
shipping_address: {
admin_area_1: 'PA',
admin_area_2: 'Scranton',
postal_code: '18505',
country_code: 'US'
},
purchase_units: [{reference_id: 'default'}]
})
};
fetch('https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/venmo_shipping_callback', 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/v202506/carts/{cart_token}/paypal/venmo_shipping_callback",
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([
'id' => '5O190127TN364715T',
'shipping_address' => [
'admin_area_1' => 'PA',
'admin_area_2' => 'Scranton',
'postal_code' => '18505',
'country_code' => 'US'
],
'purchase_units' => [
[
'reference_id' => 'default'
]
]
]),
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/v202506/carts/{cart_token}/paypal/venmo_shipping_callback"
payload := strings.NewReader("{\n \"id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"admin_area_1\": \"PA\",\n \"admin_area_2\": \"Scranton\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n },\n \"purchase_units\": [\n {\n \"reference_id\": \"default\"\n }\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/v202506/carts/{cart_token}/paypal/venmo_shipping_callback")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"admin_area_1\": \"PA\",\n \"admin_area_2\": \"Scranton\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n },\n \"purchase_units\": [\n {\n \"reference_id\": \"default\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/venmo_shipping_callback")
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 \"id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"admin_area_1\": \"PA\",\n \"admin_area_2\": \"Scranton\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n },\n \"purchase_units\": [\n {\n \"reference_id\": \"default\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "5O190127TN364715T",
"purchase_units": [
{
"reference_id": "default",
"amount": {
"currency_code": "USD",
"value": "66.43",
"breakdown": {
"item_total": {
"currency_code": "USD",
"value": "54.99"
},
"shipping": {
"currency_code": "USD",
"value": "7.95"
},
"tax_total": {
"currency_code": "USD",
"value": "3.49"
}
}
},
"shipping_options": [
{
"id": "3107",
"label": "Standard Ground",
"type": "SHIPPING",
"selected": true,
"amount": {
"currency_code": "USD",
"value": "7.95"
}
},
{
"id": "3108",
"label": "Two-Day Express",
"type": "SHIPPING",
"selected": false,
"amount": {
"currency_code": "USD",
"value": "18.50"
}
}
]
}
]
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"shop_url": "<string>",
"cart": {
"enrollment": true,
"id": 123,
"cart_token": "<string>",
"state": "<string>",
"state_revision": 1,
"population_status": "pending",
"email": "<string>",
"phone": "<string>",
"language_iso": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"currency_decimal_places": 123,
"type": "<string>",
"buyer_rep_id": 123,
"customer_id": 123,
"enrollment_pack_id": 123,
"enrollment_member_type": {
"id": "22c58158-7f6c-4f33-a033-32e259941684",
"slug": "rep",
"name": "Representative"
},
"email_marketing": true,
"sms_marketing": true,
"auto_apply_points": true,
"processed": true,
"payment_in_progress": true,
"payment_resume_url": "<string>",
"valid_for_checkout": true,
"valid_for_checkout_pre_payment": true,
"checkout_blockers": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"payment": "not_attempted"
}
],
"contains_subscription": true,
"vault_without_charge": true,
"payment_method_auto_assignable": true,
"requires_payment_method": true,
"requires_3ds": true,
"immutable_items": true,
"digital_only": true,
"points_enabled": true,
"messages": {},
"metadata": {},
"cv_total": "<string>",
"qv_total": "<string>",
"amount_total": 123,
"amount_total_in_currency": "<string>",
"sub_total": 123,
"sub_total_in_currency": "<string>",
"tax_total": 123,
"tax_exempt": true,
"tax_total_in_currency": "<string>",
"tax_total_for_display": "<string>",
"inclusive_shipping_tax": 123,
"shipping_total": 123,
"shipping_total_in_currency": "<string>",
"shipping_total_for_display": "<string>",
"discount_total": 123,
"discount_total_in_currency": "<string>",
"subtotal_after_discounts": 123,
"subtotal_after_discounts_in_currency": "<string>",
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"totals": {
"gross_subtotal": "<string>",
"gross_subtotal_in_currency": "<string>",
"net_subtotal": "<string>",
"net_subtotal_in_currency": "<string>",
"item_tax": "<string>",
"item_tax_in_currency": "<string>",
"shipping_net": "<string>",
"shipping_net_in_currency": "<string>",
"shipping_tax": "<string>",
"shipping_tax_in_currency": "<string>",
"total_tax": "<string>",
"total_tax_in_currency": "<string>",
"price_inclusive_of_tax": true,
"tax_label": "<string>"
},
"enrollment_fee": 123,
"enrollment_fee_in_currency": "<string>",
"transaction_fee": 123,
"transaction_fee_in_currency": "<string>",
"shipping_discount": 123,
"discount_codes": [
"<string>"
],
"product_discount_codes": [
"<string>"
],
"shipping_discount_codes": [
"<string>"
],
"customer_total_points": 123,
"customer_total_points_in_currency": "<string>",
"points_applied": 123,
"points_applied_amount_in_currency": "<string>",
"remaining_customer_points": 123,
"remaining_customer_points_amount_in_currency": "<string>",
"remaining_cart_amount_after_points": 123,
"remaining_cart_amount_after_points_in_currency": "<string>",
"max_applicable_points": 123,
"total_creditable_points": 123,
"shipping_address": {},
"billing_address": {},
"discount_breakdown": {
"internal_discounts": 123,
"external_discounts": 123,
"total_discounts": 123
},
"external_discount": {},
"buyer_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>",
"external_id": "<string>"
},
"buyer_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>"
},
"volume_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"available_shipping_methods": [
{
"id": "<string>",
"title": "<string>",
"price": 123,
"delivery_time_estimate": "<string>",
"price_label": "<string>"
}
],
"available_payment_methods": [
{}
],
"payment_unavailable_reason": "no_gateway_for_country",
"payment_account": {},
"shipping_method": {
"id": "<string>",
"name": "<string>"
},
"payment_method": {},
"items": [
{
"id": 123,
"title": "<string>",
"quantity": 123,
"price": "<string>",
"price_in_currency": "<string>",
"discount_amount": "<string>",
"discount_amount_in_currency": "<string>",
"tax": "<string>",
"tax_in_currency": "<string>",
"cv": "<string>",
"qv": "<string>",
"cv_total": "<string>",
"qv_total": "<string>",
"total": "<string>",
"total_in_currency": "<string>",
"line_total_in_currency": "<string>",
"total_after_discounts": "<string>",
"total_after_discounts_in_currency": "<string>",
"line_total_after_discounts_in_currency": "<string>",
"regular_line_total_in_currency": "<string>",
"unit_price_display_authoritative": true,
"price_unavailable": true,
"enrollment_pack_id": 123,
"subscription": true,
"subscription_plan_id": 123,
"subscription_plans": [
{}
],
"subscription_only": true,
"subscription_interval": 123,
"subscription_interval_unit": "<string>",
"subscription_interval_unit_identifier": "<string>",
"subscription_price": "<string>",
"subscription_price_in_currency": "<string>",
"subscription_start": "<string>",
"subscribe_and_save": "<string>",
"subscribe_and_save_in_currency": "<string>",
"subscribe_and_save_for_display": "<string>",
"display_to_customer": true,
"metadata": {},
"image_url": "<string>",
"free_item": true,
"allow_subscription": true,
"enrollment": true,
"errors": [
"<string>"
],
"creditable_points": 123,
"product": {},
"variant": {
"id": 123,
"title": "<string>",
"display_name": "<string>",
"image_url": "<string>",
"image_path": "<string>",
"sku": "<string>",
"primary_image": "<string>",
"price": 123,
"price_in_currency": "<string>",
"currency_code": "<string>",
"options": [
{
"title": "<string>",
"value": "<string>"
}
],
"physical": true,
"unit_of_size": "<string>",
"height": 123,
"width": 123,
"length": 123,
"unit_of_weight": "<string>",
"weight": "<string>",
"hs_code": "<string>"
},
"bundled_items": [
{}
],
"product_title": "<string>"
}
],
"ship_to": {
"id": 123,
"name": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"city": "<string>",
"state": "<string>",
"subdivision_code": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"country_num_code": 123,
"default": true
},
"bill_to": {},
"attribution": {},
"agreements": [
{
"id": 123,
"title": "<string>",
"show_at_checkout": true,
"default_checked": true,
"subscription_only": true,
"standalone_on_checkout": true,
"show_path": "<string>",
"enrollment_pack_id": 123,
"required": true,
"content_digest": "<string>"
}
],
"country": {
"id": 123,
"name": "<string>",
"iso": "<string>",
"iso_name": "<string>",
"iso3": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"province_required": true,
"tax_enabled": true,
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"tax_standard_rate": 123
},
"company": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"identity_sign_in_enabled": true,
"id": 123,
"name": "<string>",
"favicon_url": "<string>",
"primary_domain_hostname": "<string>",
"subdomain": "<string>",
"logo_url": "<string>",
"fluid_shop": "<string>",
"collect_phone": true,
"require_phone": true,
"require_billing_zip": true,
"checkout_primary_button_color": "<string>",
"checkout_primary_text_color": "<string>",
"checkout_secondary_button_color": "<string>",
"checkout_secondary_text_color": "<string>",
"order_on_behalf": true,
"reward_points_enabled": true,
"reward_points_apply_to_subtotal": true,
"reward_points_label_singular": "<string>",
"reward_points_label_plural": "<string>",
"collect_sms_marketing": true,
"collect_email_marketing": true,
"bundle_subscriptions": true,
"hide_volume_on_customer_surfaces": true,
"isolated_payment_tokens": true,
"kount_environment": "sandbox",
"kount_client_id": "150953359757648"
},
"enrollment_pack": {},
"recurring": [
{
"subtotal": 123,
"subtotal_in_currency": "<string>",
"interval": 123,
"interval_unit": "<string>",
"interval_unit_identifier": "day",
"subtotal_for_display": "<string>",
"start_date": "<string>"
}
]
},
"code": "<string>",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}{
"name": "<string>",
"details": [
{
"issue": "<string>"
}
]
}Path Parameters
Body
PayPal order id, as PayPal names it in the callback. Echoed back. Either id or order_id is required.
Alias for id, accepted for manual calls.
Buyer's shipping address as PayPal sends it. Required.
Show child attributes
Show child attributes
Present only when the buyer picked a different shipping option in Venmo.
Show child attributes
Show child attributes
Echoed back so the answer addresses the same purchase unit. Defaults to default.
Show child attributes
Show child attributes
curl --request POST \
--url https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/venmo_shipping_callback \
--header 'Content-Type: application/json' \
--data '
{
"id": "5O190127TN364715T",
"shipping_address": {
"admin_area_1": "PA",
"admin_area_2": "Scranton",
"postal_code": "18505",
"country_code": "US"
},
"purchase_units": [
{
"reference_id": "default"
}
]
}
'import requests
url = "https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/venmo_shipping_callback"
payload = {
"id": "5O190127TN364715T",
"shipping_address": {
"admin_area_1": "PA",
"admin_area_2": "Scranton",
"postal_code": "18505",
"country_code": "US"
},
"purchase_units": [{ "reference_id": "default" }]
}
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({
id: '5O190127TN364715T',
shipping_address: {
admin_area_1: 'PA',
admin_area_2: 'Scranton',
postal_code: '18505',
country_code: 'US'
},
purchase_units: [{reference_id: 'default'}]
})
};
fetch('https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/venmo_shipping_callback', 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/v202506/carts/{cart_token}/paypal/venmo_shipping_callback",
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([
'id' => '5O190127TN364715T',
'shipping_address' => [
'admin_area_1' => 'PA',
'admin_area_2' => 'Scranton',
'postal_code' => '18505',
'country_code' => 'US'
],
'purchase_units' => [
[
'reference_id' => 'default'
]
]
]),
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/v202506/carts/{cart_token}/paypal/venmo_shipping_callback"
payload := strings.NewReader("{\n \"id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"admin_area_1\": \"PA\",\n \"admin_area_2\": \"Scranton\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n },\n \"purchase_units\": [\n {\n \"reference_id\": \"default\"\n }\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/v202506/carts/{cart_token}/paypal/venmo_shipping_callback")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"admin_area_1\": \"PA\",\n \"admin_area_2\": \"Scranton\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n },\n \"purchase_units\": [\n {\n \"reference_id\": \"default\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/venmo_shipping_callback")
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 \"id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"admin_area_1\": \"PA\",\n \"admin_area_2\": \"Scranton\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n },\n \"purchase_units\": [\n {\n \"reference_id\": \"default\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "5O190127TN364715T",
"purchase_units": [
{
"reference_id": "default",
"amount": {
"currency_code": "USD",
"value": "66.43",
"breakdown": {
"item_total": {
"currency_code": "USD",
"value": "54.99"
},
"shipping": {
"currency_code": "USD",
"value": "7.95"
},
"tax_total": {
"currency_code": "USD",
"value": "3.49"
}
}
},
"shipping_options": [
{
"id": "3107",
"label": "Standard Ground",
"type": "SHIPPING",
"selected": true,
"amount": {
"currency_code": "USD",
"value": "7.95"
}
},
{
"id": "3108",
"label": "Two-Day Express",
"type": "SHIPPING",
"selected": false,
"amount": {
"currency_code": "USD",
"value": "18.50"
}
}
]
}
]
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"shop_url": "<string>",
"cart": {
"enrollment": true,
"id": 123,
"cart_token": "<string>",
"state": "<string>",
"state_revision": 1,
"population_status": "pending",
"email": "<string>",
"phone": "<string>",
"language_iso": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"currency_decimal_places": 123,
"type": "<string>",
"buyer_rep_id": 123,
"customer_id": 123,
"enrollment_pack_id": 123,
"enrollment_member_type": {
"id": "22c58158-7f6c-4f33-a033-32e259941684",
"slug": "rep",
"name": "Representative"
},
"email_marketing": true,
"sms_marketing": true,
"auto_apply_points": true,
"processed": true,
"payment_in_progress": true,
"payment_resume_url": "<string>",
"valid_for_checkout": true,
"valid_for_checkout_pre_payment": true,
"checkout_blockers": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"payment": "not_attempted"
}
],
"contains_subscription": true,
"vault_without_charge": true,
"payment_method_auto_assignable": true,
"requires_payment_method": true,
"requires_3ds": true,
"immutable_items": true,
"digital_only": true,
"points_enabled": true,
"messages": {},
"metadata": {},
"cv_total": "<string>",
"qv_total": "<string>",
"amount_total": 123,
"amount_total_in_currency": "<string>",
"sub_total": 123,
"sub_total_in_currency": "<string>",
"tax_total": 123,
"tax_exempt": true,
"tax_total_in_currency": "<string>",
"tax_total_for_display": "<string>",
"inclusive_shipping_tax": 123,
"shipping_total": 123,
"shipping_total_in_currency": "<string>",
"shipping_total_for_display": "<string>",
"discount_total": 123,
"discount_total_in_currency": "<string>",
"subtotal_after_discounts": 123,
"subtotal_after_discounts_in_currency": "<string>",
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"totals": {
"gross_subtotal": "<string>",
"gross_subtotal_in_currency": "<string>",
"net_subtotal": "<string>",
"net_subtotal_in_currency": "<string>",
"item_tax": "<string>",
"item_tax_in_currency": "<string>",
"shipping_net": "<string>",
"shipping_net_in_currency": "<string>",
"shipping_tax": "<string>",
"shipping_tax_in_currency": "<string>",
"total_tax": "<string>",
"total_tax_in_currency": "<string>",
"price_inclusive_of_tax": true,
"tax_label": "<string>"
},
"enrollment_fee": 123,
"enrollment_fee_in_currency": "<string>",
"transaction_fee": 123,
"transaction_fee_in_currency": "<string>",
"shipping_discount": 123,
"discount_codes": [
"<string>"
],
"product_discount_codes": [
"<string>"
],
"shipping_discount_codes": [
"<string>"
],
"customer_total_points": 123,
"customer_total_points_in_currency": "<string>",
"points_applied": 123,
"points_applied_amount_in_currency": "<string>",
"remaining_customer_points": 123,
"remaining_customer_points_amount_in_currency": "<string>",
"remaining_cart_amount_after_points": 123,
"remaining_cart_amount_after_points_in_currency": "<string>",
"max_applicable_points": 123,
"total_creditable_points": 123,
"shipping_address": {},
"billing_address": {},
"discount_breakdown": {
"internal_discounts": 123,
"external_discounts": 123,
"total_discounts": 123
},
"external_discount": {},
"buyer_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>",
"external_id": "<string>"
},
"buyer_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>"
},
"volume_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"available_shipping_methods": [
{
"id": "<string>",
"title": "<string>",
"price": 123,
"delivery_time_estimate": "<string>",
"price_label": "<string>"
}
],
"available_payment_methods": [
{}
],
"payment_unavailable_reason": "no_gateway_for_country",
"payment_account": {},
"shipping_method": {
"id": "<string>",
"name": "<string>"
},
"payment_method": {},
"items": [
{
"id": 123,
"title": "<string>",
"quantity": 123,
"price": "<string>",
"price_in_currency": "<string>",
"discount_amount": "<string>",
"discount_amount_in_currency": "<string>",
"tax": "<string>",
"tax_in_currency": "<string>",
"cv": "<string>",
"qv": "<string>",
"cv_total": "<string>",
"qv_total": "<string>",
"total": "<string>",
"total_in_currency": "<string>",
"line_total_in_currency": "<string>",
"total_after_discounts": "<string>",
"total_after_discounts_in_currency": "<string>",
"line_total_after_discounts_in_currency": "<string>",
"regular_line_total_in_currency": "<string>",
"unit_price_display_authoritative": true,
"price_unavailable": true,
"enrollment_pack_id": 123,
"subscription": true,
"subscription_plan_id": 123,
"subscription_plans": [
{}
],
"subscription_only": true,
"subscription_interval": 123,
"subscription_interval_unit": "<string>",
"subscription_interval_unit_identifier": "<string>",
"subscription_price": "<string>",
"subscription_price_in_currency": "<string>",
"subscription_start": "<string>",
"subscribe_and_save": "<string>",
"subscribe_and_save_in_currency": "<string>",
"subscribe_and_save_for_display": "<string>",
"display_to_customer": true,
"metadata": {},
"image_url": "<string>",
"free_item": true,
"allow_subscription": true,
"enrollment": true,
"errors": [
"<string>"
],
"creditable_points": 123,
"product": {},
"variant": {
"id": 123,
"title": "<string>",
"display_name": "<string>",
"image_url": "<string>",
"image_path": "<string>",
"sku": "<string>",
"primary_image": "<string>",
"price": 123,
"price_in_currency": "<string>",
"currency_code": "<string>",
"options": [
{
"title": "<string>",
"value": "<string>"
}
],
"physical": true,
"unit_of_size": "<string>",
"height": 123,
"width": 123,
"length": 123,
"unit_of_weight": "<string>",
"weight": "<string>",
"hs_code": "<string>"
},
"bundled_items": [
{}
],
"product_title": "<string>"
}
],
"ship_to": {
"id": 123,
"name": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"city": "<string>",
"state": "<string>",
"subdivision_code": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"country_num_code": 123,
"default": true
},
"bill_to": {},
"attribution": {},
"agreements": [
{
"id": 123,
"title": "<string>",
"show_at_checkout": true,
"default_checked": true,
"subscription_only": true,
"standalone_on_checkout": true,
"show_path": "<string>",
"enrollment_pack_id": 123,
"required": true,
"content_digest": "<string>"
}
],
"country": {
"id": 123,
"name": "<string>",
"iso": "<string>",
"iso_name": "<string>",
"iso3": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"province_required": true,
"tax_enabled": true,
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"tax_standard_rate": 123
},
"company": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"identity_sign_in_enabled": true,
"id": 123,
"name": "<string>",
"favicon_url": "<string>",
"primary_domain_hostname": "<string>",
"subdomain": "<string>",
"logo_url": "<string>",
"fluid_shop": "<string>",
"collect_phone": true,
"require_phone": true,
"require_billing_zip": true,
"checkout_primary_button_color": "<string>",
"checkout_primary_text_color": "<string>",
"checkout_secondary_button_color": "<string>",
"checkout_secondary_text_color": "<string>",
"order_on_behalf": true,
"reward_points_enabled": true,
"reward_points_apply_to_subtotal": true,
"reward_points_label_singular": "<string>",
"reward_points_label_plural": "<string>",
"collect_sms_marketing": true,
"collect_email_marketing": true,
"bundle_subscriptions": true,
"hide_volume_on_customer_surfaces": true,
"isolated_payment_tokens": true,
"kount_environment": "sandbox",
"kount_client_id": "150953359757648"
},
"enrollment_pack": {},
"recurring": [
{
"subtotal": 123,
"subtotal_in_currency": "<string>",
"interval": 123,
"interval_unit": "<string>",
"interval_unit_identifier": "day",
"subtotal_for_display": "<string>",
"start_date": "<string>"
}
]
},
"code": "<string>",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}{
"name": "<string>",
"details": [
{
"issue": "<string>"
}
]
}