API Integration

Welcome to U-PIC's API Integration page. As a leading third-party provider of shipping insurance solutions, we recognize the importance of having a robust API in place that facilitates seamless communication between our systems. Our mission is to empower you with the tools you need to enhance your workflows, boost productivity, and effortlessly integrate our insurance solutions into your business model.

Streamlined Functionality

Leverage the power of our REST API to easily insure shipments, void transactions, and handle claims processing from beginning to end using simple API calls. This intuitive integration guarantees a swift operational launch, ensuring you can quickly and effectively manage both orders and claims without encountering any undue complexities or delays. Your journey towards efficient shipping insurance is streamlined for maximum efficiency.

Seamless Integration

Imagine a shipping insurance experience that seamlessly aligns with your operational requirements. U-PIC's API integration opens doors to a world where insuring shipments, processing claims, and maximizing productivity become second nature. Embrace a streamlined approach that not only simplifies intricate tasks but also empowers your team to navigate shipping challenges with unwavering confidence.

Integration Exploration

To help you get started with integrating U-PIC's API seamlessly into your workflow, we've provided illustrative examples that demonstrate how to interact with our system using different programming languages.

Experience the simplicity of our integration process firsthand by downloading our Postman file. This resource offers a visual walkthrough, complete with dummy access keys and data for demonstration purposes. While the interactions won't be functional, this file provides a clear and intuitive guide to the effortless integration journey we offer.

$data = [
    'apikey' => '{api_key}',
    'token' => '{token}',
    'carrier_id' => {carrier_id},
    'declared_value' => 5.5,
    'invoice' => 'INV 123',
    'shipped' => '2020-01-01',
    'tracking' => '12345678910111213'
    'shipper' => 'UPIC Insurance Services, INC.',
    'consignee' => 'John Doe',
    'account' => 123456
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_CAINFO, realpath('cacert.pem'));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, "https://u-pic.com/api/v1/claims/file");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
$info = curl_getinfo($ch);
$resp = curl_exec($ch);

curl_close($ch);
import requests

api_key = "{api_key}"
token = "{token}"
carrier_id = {carrier_id}

data = {
    'apikey': api_key,
    'token': token,
    'carrier_id': carrier_id,
    'declared_value': 5.5,
    'invoice': 'INV 123',
    'shipped': '2020-01-01',
    'tracking': '12345678910111213',
    'shipper': 'UPIC Insurance Services, INC.',
    'consignee': 'John Doe',
    'account': 123456
}

url = "https://u-pic.com/api/v1/claims/file"
response = requests.post(url, data=data)
var apiKey = "{api_key}";
var token = "{token}";
var carrierId = {carrier_id};

var data = new Dictionary
{
    { "apikey", apiKey },
    { "token", token },
    { "carrier_id", carrierId.ToString() },
    { "declared_value", "5.5" },
    { "invoice", "INV 123" },
    { "shipped", "2020-01-01" },
    { "tracking", "12345678910111213" },
    { "shipper", "UPIC Insurance Services, INC." },
    { "consignee", "John Doe" },
    { "account", "123456" }
};

var httpClient = new HttpClient();
var content = new FormUrlEncodedContent(data);

var response = await httpClient.PostAsync("https://u-pic.com/api/v1/claims/file", content); 

Expert API Support

Do you have questions or need more information? Our dedicated team is always ready to provide expert guidance and support. Whether you're embarking on the journey of API integration or seeking tailored solutions for your unique needs, we're just a click away. Feel free to connect with us for a personalized consultation – let's explore how U-PIC's API can magnify your shipping insurance strategies.

Contact our support team via email, give us a direct call, or you can engage in a live chat by clicking the chat bubble at the bottom right-hand corner of the screen to get started.

Integrate With U-PIC Shipping Insurance

Offer a Shipping Insurance solution native to your platform, for your customers
Complete this form and an agent will be in touch shortly