/api/v1/shipping-quote tenant keyTenant fulfillment, step 1. Requires a TENANT API key (set yours in the sidebar — the demo key here is a mystery-partner key and 403s). Validates the ship-to address and returns live carrier rates for the listed cards. Opens a PENDING_PAYMENT order and locks in the quoted rates, so committing bills exactly what you were quoted. Hand the order_id + a chosen rate_id to POST /api/v1/orders.
POST /api/v1/shipping-quote write These inputs are shared across all docs pages — an id entered here carries over.
{
"unique_ids": [
"CARD-EXAMPLE-1"
],
"address": {
"name": "Demo Buyer",
"street1": "1 Market St",
"city": "San Francisco",
"state": "CA",
"zip": "94105",
"country": "US"
}
}Not run yet — press Run to make a live call against https://service.rip.fun (through this demo's server-side proxy; the API key never reaches the browser).
curl -X POST 'https://service.rip.fun/api/v1/shipping-quote' \
-H 'X-API-Key: rip_…' \
-H 'Content-Type: application/json' \
-d '{"unique_ids":["CARD-EXAMPLE-1"],"address":{"name":"Demo Buyer","street1":"1 Market St","city":"San Francisco","state":"CA","zip":"94105","country":"US"}}' | Field | Type | Required | Description |
|---|---|---|---|
unique_ids | string[] | yes | Tenant card unique ids to ship together (deduped; every card must belong to you and be OFFCHAIN) |
address.name | string | yes | Recipient full name |
address.street1 | string | yes | Street line 1 (`street2` optional) |
address.city | string | yes | City |
address.state | string | yes | State / region |
address.zip | string | yes | Postal code |
address.country | string | yes | ISO country code, e.g. `US` (`phone`, `email` optional) |
data)| Field | Description |
|---|---|
order_id | New PENDING_PAYMENT tenant order id — pass to POST /orders to commit |
unique_ids | Echoed card ids on the order |
rates[] | Live Shippo rates (cheapest first): rate_id, amount, currency, provider, servicelevel, estimated_days |
shippo_shipment_id / shippo_address_id | Shippo shipment + validated address object ids |
ship_by_at / expires_at | Target ship date + when these rates expire (~24h) |
| Status | Code | When |
|---|---|---|
| 400 | unique_ids required | unique_ids missing or not a non-empty string array |
| 400 | invalid address | address incomplete or Shippo cannot validate it |
| 404 | card(s) not found | a unique_id is not a card of this tenant |
| 409 | card(s) not OFFCHAIN | a card is not in an OFFCHAIN (shippable) state |
See Errors for the response envelope and the full code list.