Developers · Version 1
Jonify Business API
Submit China to Nigeria shipments from your own system. Check rates, get a freight estimate with every shipment, and get the QR code, tracking link and shipping mark back in one response.
Overview
The API lets a logistics business hand shipments to Jonify without retyping them. You send the goods, the supplier and your customer. Jonify books the shipment, tells you what the freight should cost, and returns the links your team and your supplier need.
- Base URL
https://api.jonifyimports.com/business/v1- Format
- JSON in, JSON out. Send Content-Type: application/json.
- Money
- Naira, as plain numbers (63000 is ₦63,000). Freight rates are quoted in US dollars and billed in naira.
- Dates
- ISO 8601 in UTC, like 2026-11-21T07:54:03.727Z.
- Access
- You need an approved business account and an API key. Register at /business/register, then create keys in your dashboard.
Quickstart
From nothing to a booked shipment in five steps.
- 1
Register and get approved
Apply on the registration page. Jonify reviews every application. When you are approved you get a dedicated bank account number.
- 2
Fund your wallet
Send a transfer to your dedicated account number from any bank. Your wallet is credited automatically, usually within a few minutes.
- 3
Create an API key
In your dashboard, open API keys, name the key after the system that will use it, and copy it. You only see it once. Keep it on your server.
- 4
Check the rate
Call
POST /rates/estimateto see what a shipment will cost in freight before you create it. - 5
Submit the shipment
Call
POST /shipments. The response has the QR code, tracking link and shipping mark, and the freight estimate.
curl -X POST https://api.jonifyimports.com/business/v1/shipments \
-H "Authorization: Bearer $JONIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"externalReference": "ORD-48213",
"shipmentType": "sea",
"productDetails": "Office chairs, black mesh",
"supplierName": "Foshan Sheng Furniture",
"supplierPhone": "+8613957911234",
"consignee": {
"name": "Adaeze Okafor",
"phone": "+2348031234567"
},
"estimatedCartons": 20,
"estimatedCbm": 1.8,
"cargoCategories": [
"Furniture & Home Décor"
],
"brandDeclaration": "original",
"handlingNotes": "Keep dry"
}'Authentication
Send your API key as a bearer token on every request.
Authorization: Bearer jnb_live_••••••••••••••••••••- You can also send the key as an
X-API-Keyheader. - Create as many keys as you need, one per system or environment, and name them. Revoke any key from your dashboard; it stops working immediately.
- Jonify stores only a hash of your key. If you lose it, create a new one.
- Never put a key in a browser or a mobile app. Anyone who has it can submit shipments against your wallet.
- If Jonify suspends your account, every key stops working until the account is restored.
Wallet and billing
You pay for freight from your wallet, at your business rates. There is no per-request charge.
1. Estimate
When you submit a shipment, the response includes a freight estimate worked out from the volume or weight you declared. You can also ask for one first with the rates endpoint.
2. Measure
When the goods reach the origin warehouse they are measured. The real freight is worked out from that, at your business rates and the day's dollar rate.
3. Charge
The freight is taken from your wallet at once if it holds enough. If not, it waits, and is paid automatically, oldest first, as soon as you fund the wallet.
- The estimate is a guide. The final charge follows the measured volume or weight, so it can be higher or lower.
- Freight that is waiting for funds does not block your API. The goods are not released for pickup until it is paid.
- Check
freight.stateon a shipment:awaiting_measurement,waiting_for_walletorpaid. - Jonify can set an optional handling fee per shipment on your account. It is taken when you submit, and a 402 means your wallet could not cover it. It is zero unless Jonify tells you otherwise.
- Cancelling a shipment before the warehouse receives the goods returns any handling fee to your wallet.
- Every credit and charge appears on your wallet statement in the dashboard.
Rates and estimates
Check what Jonify charges your business, and get a quote for a specific shipment. Neither call creates anything or touches your wallet. The figures in the samples are examples.
GET/rates
Your business rate table. Freight is in US dollars per kilogram (air) or cubic metre (sea), customs clearance is in naira, and container prices already include everything Jonify adds. usdToNgn is the dollar rate used today.
curl https://api.jonifyimports.com/business/v1/rates \
-H "Authorization: Bearer $JONIFY_API_KEY"{
"currency": {
"freight": "USD",
"clearance": "NGN",
"billed": "NGN"
},
"usdToNgn": 1500,
"air": {
"cargoPerKgUsd": 10,
"expressPerKgUsd": 14,
"hkGoodsPerKgUsd": 16,
"clearancePerKgNgn": 1000
},
"sea": {
"normalPerCbmUsd": 20,
"dangerousPerCbmUsd": 26,
"clearancePerCbmNgn": 5000
},
"containers": {
"20ft": {
"label": "20GP container",
"priceUsd": 4300,
"dangerousGoodsPriceUsd": 4800,
"extrasUsd": 940,
"dangerousGoodsExtrasUsd": 1230,
"clearanceNgn": 200000
},
"40ft": {
"label": "40HQ container",
"priceUsd": 6300,
"dangerousGoodsPriceUsd": 6800,
"extrasUsd": 980,
"dangerousGoodsExtrasUsd": 1270,
"clearanceNgn": 300000
}
},
"rateTiers": [
{
"tier": "air_normal",
"label": "Normal goods",
"detail": "Air cargo",
"unit": "kg",
"method": "air"
},
{
"tier": "air_express",
"label": "Normal goods",
"detail": "Express air",
"unit": "kg",
"method": "air"
},
{
"tier": "air_hk",
"label": "HK goods",
"detail": "Battery, liquid, etc.",
"unit": "kg",
"method": "air"
},
{
"tier": "sea_normal",
"label": "Normal light goods",
"detail": null,
"unit": "CBM",
"method": "sea"
},
{
"tier": "sea_dangerous",
"label": "Battery / liquid / dangerous goods",
"detail": null,
"unit": "CBM",
"method": "sea"
}
],
"note": "Fees shown are estimates, final charges may vary based on warehouse location, cargo valuation and container specifications."
}POST/rates/estimate
A freight quote for a shipment you have not created yet. Send the same facts that decide the rate: the freight type, the size, and whether the goods are batteries, liquids or other dangerous goods.
shipmentTypestring
- air or sea. Required.
estimatedCbm / estimatedWeightKg / containerSizenumber / number / string
- Sea needs estimatedCbm or a containerSize (20ft, 40ft). Air needs estimatedWeightKg.
airServicestring
- cargo (default) or express.
cargoCategories, hasBattery, hasHazardous- Used to find the rate. Dangerous goods are charged at the higher rate.
curl -X POST https://api.jonifyimports.com/business/v1/rates/estimate \
-H "Authorization: Bearer $JONIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"shipmentType": "sea",
"estimatedCbm": 1.8,
"cargoCategories": ["Furniture & Home Décor"]
}'{
"available": true,
"currency": "NGN",
"rateTier": {
"tier": "sea_normal",
"label": "Normal light goods",
"detail": null,
"unit": "CBM"
},
"basis": "cbm",
"quantity": 1.8,
"containerSize": null,
"rateUsd": 20,
"usdToNgn": 1500,
"freightNgn": 54000,
"extrasNgn": 0,
"clearanceNgn": 9000,
"totalNgn": 63000,
"walletBalance": 80000,
"walletCoversEstimate": true,
"note": "Fees shown are estimates, final charges may vary based on warehouse location, cargo valuation and container specifications. Your freight is billed from what the warehouse measures and is taken from your wallet then."
}How the total is worked out
The sample above is 1.8 CBM at a rate of $20 per CBM and a dollar rate of ₦1,500: 1.8 × $20 × ₦1,500 = ₦54,000 freight, plus 1.8 × ₦5,000 = ₦9,000 customs clearance, so ₦63,000. A whole container is one flat price plus its extras and clearance. walletCoversEstimate tells you whether your wallet holds enough today.
If a rate has not been set for that kind of shipment, or the dollar rate is unavailable, you get { "available": false, "reason": … } instead of a figure.
Submit a shipment
POST/shipments
Books a shipment and returns everything you need to label and follow it. You agree to the shipping terms once, when you register, so there is no per-shipment terms flag.
Request body
shipmentTypestring · required
- air or sea.
productDetailsstring · required
- What is in the shipment, 3 to 2,000 characters.
supplierNamestring · required
- Who the goods are collected from. 2 to 120 characters.
supplierPhonestring · required
- The supplier's phone number with country code, for example +8613957911234. It is checked.
consignee.namestring · required
- Your end customer, as it should appear on the shipping mark.
consignee.phonestring · required
- Your end customer's phone number. Only the last four digits are printed on the mark.
estimatedCartonsinteger · required
- Number of cartons, 1 to 100,000.
estimatedCbmnumber · sea
- Total volume in cubic metres. Required for sea freight unless you set containerSize.
estimatedWeightKgnumber · air
- Total weight in kilograms. Required for air freight.
cargoCategoriesstring[] · required
- One to 25 categories from the cargo categories list. Use "Other: what it is" for anything that fits none.
brandDeclarationstring · conditional
- original or fake. Required when a category is a branded-goods category (the list says which).
externalReferencestring · recommended
- Your own reference, up to 100 characters. Unique per business. Sending it again returns the original shipment and charges nothing.
containerSizestring · optional
- 20ft or 40ft to book a whole container at a flat price. Sea only.
airServicestring · optional
- cargo (default) or express. Air only.
isFragile, hasBattery, hasHazardousboolean · optional
- Handling flags, false by default. Batteries and hazardous goods (liquids, powders, chemicals) move the shipment to the higher dangerous-goods rate.
localDeliveryAddressstring · optional
- Onward delivery address within Nigeria. Billed separately after the goods arrive.
handlingNotesstring · optional
- Anything the warehouse should know, up to 1,000 characters.
curl -X POST https://api.jonifyimports.com/business/v1/shipments \
-H "Authorization: Bearer $JONIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"externalReference": "ORD-48213",
"shipmentType": "sea",
"productDetails": "Office chairs, black mesh",
"supplierName": "Foshan Sheng Furniture",
"supplierPhone": "+8613957911234",
"consignee": {
"name": "Adaeze Okafor",
"phone": "+2348031234567"
},
"estimatedCartons": 20,
"estimatedCbm": 1.8,
"cargoCategories": [
"Furniture & Home Décor"
],
"brandDeclaration": "original",
"handlingNotes": "Keep dry"
}'Response · 201
idstring
- Jonify's internal id. Accepted anywhere a shipment reference is.
referenceCodestring
- The shipment code, like JN-SHP-2026-000004. This is what the QR code encodes and what your customer tracks.
externalReferencestring | null
- The reference you sent.
statusstring
- Where the shipment is. See the lifecycle section; cancelled shipments read cancelled.
qrCodeUrlstring
- A PNG of the shipping QR code. The warehouse scans it.
trackingUrlstring
- A public tracking page. Share it with your customer.
shippingMarkUrlstring
- The printable shipping mark with the warehouse address in English and Chinese. Send it to your supplier to stick on every carton.
shippingDetailsobject
- Everything you submitted, plus the origin warehouse and arrivalDeadlineAt, the date the goods must reach it.
feeobject
- The optional handling fee taken at submission, if any: amount and currency. Zero unless Jonify set one for your account.
walletBalancenumber
- Your wallet balance in naira after submission.
freightobject
- The freight estimate and, once the warehouse has measured the goods, the real charge. See wallet and billing.
duplicateboolean
- True when this call matched an earlier externalReference and returned the original.
{
"id": "cmw63xhzk00348zqykzo8ckq2",
"referenceCode": "JN-SHP-2026-000004",
"externalReference": "ORD-48213",
"status": "order_created",
"shipmentType": "sea",
"qrCodeUrl": "https://api.jonifyimports.com/business/v1/public/shipments/JN-SHP-2026-000004/qr.png",
"trackingUrl": "https://www.jonifyimports.com/track?code=JN-SHP-2026-000004",
"shippingMarkUrl": "https://www.jonifyimports.com/mark/JN-SHP-2026-000004?k=c4_54BE1j3_7c62uIThex_BlAVIr47Vo",
"shippingDetails": {
"productDetails": "Office chairs, black mesh",
"supplier": {
"name": "Foshan Sheng Furniture",
"phone": "+8613957911234"
},
"consignee": {
"name": "Adaeze Okafor",
"phone": "+2348031234567"
},
"estimatedCartons": 20,
"estimatedCbm": 1.8,
"estimatedWeightKg": null,
"containerSize": null,
"airService": null,
"cargoCategories": [
"Furniture & Home Décor"
],
"isFragile": false,
"hasBattery": false,
"hasHazardous": false,
"brandDeclaration": "original",
"handlingNotes": "Keep dry",
"localDeliveryAddress": null,
"originWarehouse": {
"id": "cmw63uh7600008zqyqwt3f8w0",
"country": "china",
"addressEn": "Shop 3302, 3rd Floor, Guotai International Trade City, No. 27 Guangyuan West Road, Yuexiu District, Guangzhou, China",
"addressZh": "",
"displayName": "Jonify Imports Warehouse",
"managerName": "",
"managerPhone": "+86 166 0673 3095"
},
"arrivalDeadlineAt": "2026-11-21T07:54:03.727Z"
},
"createdAt": "2026-11-07T07:54:03.728Z",
"fee": {
"amount": 0,
"currency": "NGN"
},
"walletBalance": 80000,
"freight": {
"estimate": {
"available": true,
"currency": "NGN",
"rateTier": {
"tier": "sea_normal",
"label": "Normal light goods",
"detail": null,
"unit": "CBM"
},
"basis": "cbm",
"quantity": 1.8,
"containerSize": null,
"rateUsd": 20,
"usdToNgn": 1500,
"freightNgn": 54000,
"extrasNgn": 0,
"clearanceNgn": 9000,
"totalNgn": 63000,
"walletBalance": 80000,
"walletCoversEstimate": true,
"note": "Fees shown are estimates, final charges may vary based on warehouse location, cargo valuation and container specifications. Your freight is billed from what the warehouse measures and is taken from your wallet then."
},
"charge": null,
"state": "awaiting_measurement"
},
"duplicate": false
}Sending the same shipment twice
Always send an externalReference. If a request times out and you send it again with the same reference, Jonify returns the original shipment with status 200 and duplicate: true. Nothing is created twice and nothing is charged twice.
The three links
qrCodeUrlis a PNG you can print or embed. It encodes the shipment code, which is what the warehouse scans.shippingMarkUrlopens a printable page. Send it to your supplier so every carton carries the mark. The link is signed, so it only works for people you share it with.trackingUrlis a public page showing the shipment's progress. Share it with your customer.
Get and list shipments
GET/shipments/{reference}
One shipment, with its freight estimate and, once measured, its charge. {reference} can be the Jonify code (JN-SHP-…), your own externalReference or the id.
curl https://api.jonifyimports.com/business/v1/shipments/ORD-48213 \
-H "Authorization: Bearer $JONIFY_API_KEY"{
"id": "cmw63xhzk00348zqykzo8ckq2",
"referenceCode": "JN-SHP-2026-000004",
"externalReference": "ORD-48213",
"status": "order_created",
"shipmentType": "sea",
"qrCodeUrl": "https://api.jonifyimports.com/business/v1/public/shipments/JN-SHP-2026-000004/qr.png",
"trackingUrl": "https://www.jonifyimports.com/track?code=JN-SHP-2026-000004",
"shippingMarkUrl": "https://www.jonifyimports.com/mark/JN-SHP-2026-000004?k=c4_54BE1j3_7c62uIThex_BlAVIr47Vo",
"shippingDetails": {
"productDetails": "Office chairs, black mesh",
"supplier": {
"name": "Foshan Sheng Furniture",
"phone": "+8613957911234"
},
"consignee": {
"name": "Adaeze Okafor",
"phone": "+2348031234567"
},
"estimatedCartons": 20,
"estimatedCbm": 1.8,
"estimatedWeightKg": null,
"containerSize": null,
"airService": null,
"cargoCategories": [
"Furniture & Home Décor"
],
"isFragile": false,
"hasBattery": false,
"hasHazardous": false,
"brandDeclaration": "original",
"handlingNotes": "Keep dry",
"localDeliveryAddress": null,
"originWarehouse": {
"id": "cmw63uh7600008zqyqwt3f8w0",
"country": "china",
"addressEn": "Shop 3302, 3rd Floor, Guotai International Trade City, No. 27 Guangyuan West Road, Yuexiu District, Guangzhou, China",
"addressZh": "",
"displayName": "Jonify Imports Warehouse",
"managerName": "",
"managerPhone": "+86 166 0673 3095"
},
"arrivalDeadlineAt": "2026-11-21T07:54:03.727Z"
},
"createdAt": "2026-11-07T07:54:03.728Z",
"freight": {
"estimate": {
"available": true,
"currency": "NGN",
"rateTier": {
"tier": "sea_normal",
"label": "Normal light goods",
"detail": null,
"unit": "CBM"
},
"basis": "cbm",
"quantity": 1.8,
"containerSize": null,
"rateUsd": 20,
"usdToNgn": 1500,
"freightNgn": 54000,
"extrasNgn": 0,
"clearanceNgn": 9000,
"totalNgn": 63000,
"note": "Fees shown are estimates, final charges may vary based on warehouse location, cargo valuation and container specifications. Your freight is billed from what the warehouse measures and is taken from your wallet then."
},
"charge": {
"status": "paid",
"amount": 70000,
"currency": "NGN",
"paidAt": "2026-11-07T07:54:03.784Z",
"paidFrom": "wallet",
"breakdown": null
},
"state": "paid"
}
}GET/shipments
Your shipments, newest first. Add limit (1 to 100, default 25) and status to filter. When nextCursor is not null, pass it back as cursor for the next page. List items carry the freight charge but not the estimate.
curl https://api.jonifyimports.com/business/v1/shipments?limit=25&status=in_transit \
-H "Authorization: Bearer $JONIFY_API_KEY"{
"data": [
{
"id": "cmw63xhzk00348zqykzo8ckq2",
"referenceCode": "JN-SHP-2026-000004",
"externalReference": "ORD-48213",
"status": "order_created",
"shipmentType": "sea",
"qrCodeUrl": "https://api.jonifyimports.com/business/v1/public/shipments/JN-SHP-2026-000004/qr.png",
"trackingUrl": "https://www.jonifyimports.com/track?code=JN-SHP-2026-000004",
"shippingMarkUrl": "https://www.jonifyimports.com/mark/JN-SHP-2026-000004?k=c4_54BE1j3_7c62uIThex_BlAVIr47Vo",
"shippingDetails": {
"productDetails": "Office chairs, black mesh",
"supplier": {
"name": "Foshan Sheng Furniture",
"phone": "+8613957911234"
},
"consignee": {
"name": "Adaeze Okafor",
"phone": "+2348031234567"
},
"estimatedCartons": 20,
"estimatedCbm": 1.8,
"estimatedWeightKg": null,
"containerSize": null,
"airService": null,
"cargoCategories": [
"Furniture & Home Décor"
],
"isFragile": false,
"hasBattery": false,
"hasHazardous": false,
"brandDeclaration": "original",
"handlingNotes": "Keep dry",
"localDeliveryAddress": null,
"originWarehouse": {
"id": "cmw63uh7600008zqyqwt3f8w0",
"country": "china",
"addressEn": "Shop 3302, 3rd Floor, Guotai International Trade City, No. 27 Guangyuan West Road, Yuexiu District, Guangzhou, China",
"addressZh": "",
"displayName": "Jonify Imports Warehouse",
"managerName": "",
"managerPhone": "+86 166 0673 3095"
},
"arrivalDeadlineAt": "2026-11-21T07:54:03.727Z"
},
"createdAt": "2026-11-07T07:54:03.728Z",
"freight": {
"charge": {
"status": "paid",
"amount": 70000,
"currency": "NGN",
"paidAt": "2026-11-07T07:54:03.784Z",
"paidFrom": "wallet",
"breakdown": null
},
"state": "paid"
}
}
],
"nextCursor": "cmw63xhzk00348zqykzo8ckq2"
}Cancel a shipment
POST/shipments/{reference}/cancel
Possible until the origin warehouse receives the goods. After that, contact Jonify support. Any handling fee goes back to your wallet. Cancelling twice, or after the goods were received, returns a 400.
curl -X POST https://api.jonifyimports.com/business/v1/shipments/JN-SHP-2026-000005/cancel \
-H "Authorization: Bearer $JONIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "reason": "Supplier delayed" }'{
"id": "cmw63xi1z003o8zqyxjgjfoga",
"referenceCode": "JN-SHP-2026-000005",
"externalReference": "ORD-CANCEL",
"status": "cancelled",
"shipmentType": "air",
"qrCodeUrl": "https://api.jonifyimports.com/business/v1/public/shipments/JN-SHP-2026-000005/qr.png",
"trackingUrl": "https://www.jonifyimports.com/track?code=JN-SHP-2026-000005",
"shippingMarkUrl": "https://www.jonifyimports.com/mark/JN-SHP-2026-000005?k=073IlqSxY-CaeBdw84XyTa4CBkfZN42o",
"shippingDetails": {
"productDetails": "Phone cases",
"supplier": {
"name": "Shenzhen Aoxin",
"phone": "+8613800138000"
},
"consignee": {
"name": "Emeka Nwosu",
"phone": "+2348020001111"
},
"estimatedCartons": 3,
"estimatedCbm": null,
"estimatedWeightKg": 24,
"containerSize": null,
"airService": "cargo",
"cargoCategories": [
"Mobile Phones & Accessories"
],
"isFragile": false,
"hasBattery": false,
"hasHazardous": false,
"brandDeclaration": "original",
"handlingNotes": null,
"localDeliveryAddress": null,
"originWarehouse": {
"id": "cmw63uh7600008zqyqwt3f8w0",
"country": "china",
"addressEn": "Shop 3302, 3rd Floor, Guotai International Trade City, No. 27 Guangyuan West Road, Yuexiu District, Guangzhou, China",
"addressZh": "",
"displayName": "Jonify Imports Warehouse",
"managerName": "",
"managerPhone": "+86 166 0673 3095"
},
"arrivalDeadlineAt": "2026-11-21T07:54:03.815Z"
},
"createdAt": "2026-11-07T07:54:03.816Z",
"walletBalance": 10000,
"freight": {
"charge": null,
"state": "awaiting_measurement"
}
}Cargo categories
GET/cargo-categories
The categories a shipment may use, for sea and for air. Send the exact text. The list also says which categories need a brandDeclaration. Categories for batteries, liquids and chemicals are charged at the dangerous-goods rate. The sample is shortened.
curl https://api.jonifyimports.com/business/v1/cargo-categories \
-H "Authorization: Bearer $JONIFY_API_KEY"{
"sea": {
"categories": [
"General Merchandise & Household Goods",
"Electronics & Electrical Appliances",
"Mobile Phones, Computers & Accessories",
"…"
],
"brandDeclarationRequired": [
"General Merchandise & Household Goods",
"Electronics & Electrical Appliances",
"…"
]
},
"air": {
"categories": [
"Mobile Phones & Accessories",
"Computers, Tablets & IT Equipment",
"…"
],
"brandDeclarationRequired": [
"Mobile Phones & Accessories",
"…"
]
},
"other": "Use \"Other: <what it is>\" for goods that fit none of the categories."
}Wallet
GET/wallet
Your balance, the optional handling fee, any freight waiting for funds, and the dedicated account number to pay into. Poll this, or check walletCoversEstimate on each shipment, to know when to top up.
curl https://api.jonifyimports.com/business/v1/wallet \
-H "Authorization: Bearer $JONIFY_API_KEY"{
"balance": 10000,
"currency": "NGN",
"shipmentFee": 0,
"pendingFreight": {
"amount": 0,
"shipments": 0
},
"dedicatedAccount": {
"accountNumber": "9900112233",
"accountName": "JONIFY/ACME",
"bankName": "Wema Bank"
}
}Shipment lifecycle
A shipment moves through these statuses in order. Read status from the shipment, or send your customer the tracking link.
order_createdSubmitted. Waiting for the goods to reach the origin warehouse in China.received_at_origin_warehouseThe warehouse has the goods and measures them. Freight is worked out and charged to your wallet.consolidatedPacked together with other goods for the journey.customs_export_clearanceClearing customs in China.in_transitOn its way to Nigeria.arrived_destination_countryArrived in Nigeria.customs_import_clearanceClearing customs in Nigeria.received_at_destination_warehouseAt the Jonify warehouse in Nigeria.ready_for_pickupReady to be collected. Freight must be paid before this.deliveredCollected.cancelledCancelled before the origin warehouse received the goods, or expired because the goods never arrived.
Errors
Errors use normal HTTP status codes and a JSON body. Errors specific to the Business API carry a code you can match on. Validation errors list every problem in message.
- 400
Bad RequestA field is missing or invalid. message is a list that says which fields and why. - 401
invalid_api_keyThe key is missing, wrong or revoked. - 402
insufficient_wallet_balanceYour wallet cannot cover the handling fee. Nothing was created. The response gives balance and required. - 403
business_not_activeYour account is not approved, or it is suspended. - 404
Not FoundNo shipment with that reference belongs to your business. - 429
Too Many RequestsMore than 120 requests a minute. Wait and retry.
{
"statusCode": 401,
"code": "invalid_api_key",
"message": "This API key is not valid or has been revoked"
}{
"statusCode": 402,
"code": "insufficient_wallet_balance",
"message": "Your Jonify wallet balance (₦10,000) is below the ₦25,000 shipment fee. Fund your wallet and try again.",
"balance": 10000,
"required": 25000
}{
"message": [
"productDetails must be longer than or equal to 3 characters",
"supplierName must be longer than or equal to 2 characters",
"estimatedCartons must not be less than 1",
"cargoCategories must contain at least 1 elements"
],
"error": "Bad Request",
"statusCode": 400
}{
"message": "Shipment not found",
"error": "Not Found",
"statusCode": 404
}Limits and good practice
- Rate limit. 120 requests a minute. Past that you get a 429. Back off and retry.
- Retries. Retry a timeout or a 5xx with the same
externalReference. It is safe: the shipment is created once. - Store the code. Save
referenceCodeagainst your own order. It is the QR code, the tracking code and the key for every later call. - No webhooks yet. To follow a shipment, read it with
GET /shipments/{reference}, or let your customer use the tracking link. Once an hour is plenty. - Check before you send. Use
POST /rates/estimateandGET /walletto avoid surprises, and show your own customer the estimate. - Protect your keys. Use one key per system, keep it in your server's secrets, and revoke it if it might have leaked.
Need help?
Write to support@jonifyimports.com with your business name and the shipment code, and we will take a look. Not registered yet? Apply for a business account.
