{ "error": "This shipment would take your statement past its credit limit.", "code": "CREDIT_LIMIT", "owed": 9995, "credit_limit": 10000, "shipment_total": 7.5 }
Non-crypto model endpoints
Create a customer shipment
Non-crypto model: ship 1-10 of a customer’s vault cards in one box, with the postage on your statement.
{ "error": "This shipment would take your statement past its credit limit.", "code": "CREDIT_LIMIT", "owed": 9995, "credit_limit": 10000, "shipment_total": 7.5 }
Scope: nft:orders · Rate limit: 30 a minute, shared with Create an order and Sell back a customer’s cardFor Non-crypto model programs only; a Crypto Wallet program gets 400 NOT_PARTNER_SETTLED.Ships 1-10 of a customer’s vault cards in one box at a rate from Estimate a customer shipment. We re-quote the rate; the postage (and any cover’s premium) goes on your statement, and nothing is paid or signed. A shipment that doesn’t go through is taken off your statement.The response is the shipment (processing) with its id. It then moves to shipped (with carrier and tracking_number) and delivered: follow it with List a customer’s shipments or the nft_shipment.updated webhook. Each key may create up to 50 shipments a UTC day.
Always send an Idempotency-Key, and reuse it when retrying. A retry with the same key never charges twice. See Idempotency.
string
required
Your own shipment id: 8-128 characters of A-Za-z0-9_-. Keys are per program: one key is one shipment, whichever customer it names. The same key with a different request (another customer, card_ids, address, rate, max_cost, cover_amount) is 422.
string
required
Your own id for the customer.
string[]
required
1-10 distinct card.ids from the customer’s vault, as for the estimate.
{ "carrier": "...", "token": "..." } from the estimate’s rates.
number
required
The most the shipping may cost, in dollars: the estimate rate’s total if you sent cover_amount, else its amount. If the re-quote is higher, nothing is created and you get PRICE_CHANGED with the current amount.
number | null
Shipping insurance cover in dollars, as for the estimate. The sandbox’s one rate offers no cover, so leave it out there.
Response
201 (200 with "idempotent_replay": true on a replay, with the shipment as it stands now). The shipment is the whole body, not wrapped.
processing once created; then shipped and delivered. Also pending (being created), cancelled (by our team, rare; contact us) and needs_review (we couldn’t confirm it; our team resolves it).
string[]
string | null
string | null
string | null
The rate’s token.
number | null
What went on your statement: the postage plus any cover premium.
number | null
number | null
The cover’s premium (0 without cover).
string
string | null
Set once shipped.
string | null
The carrier’s own tracking page.
string
string | null
string | null
string | null
A YYYY-MM-DD date.
string | null
boolean
Present and true when status is needs_review.
boolean
Present and true once the address has been deleted.
boolean
Present and true on a replay.
We never return the delivery address.
Errors
Nothing is created or charged on any refusal below, except SHIPMENT_OUTCOME_UNKNOWN.
rate isn’t the carrier and token of a rate from the estimate
400
BAD_MAX_COST
max_cost is missing, not positive or over 10,000
402
CREDIT_LIMIT
The postage would take what you owe past your credit limit; the body has owed, credit_limit and shipment_total
403
CUSTOMER_BLOCKED
This customer may not ship cards
403
CUSTOMER_UNAVAILABLE
This customer’s account is unavailable
404
CUSTOMER_NOT_FOUND
No customer with that id has bought from your program
409
CARDS_NOT_IN_VAULT
Your program never pulled a card into this customer’s vault (another customer’s card, or a wrong id); card_ids lists them
409
CARDS_NOT_SHIPPABLE
A card your program pulled into this vault can’t ship now (sold back, already shipping, listed or on hold; cards gives each reason), or left the vault while the shipment was being created
409
RATE_UNAVAILABLE
The carrier no longer offers that rate; estimate again
409
COVER_UNAVAILABLE
The chosen service has no cover option; choose another rate or leave cover_amount out
409
PRICE_CHANGED
The rate (with any cover) now costs more than max_cost; the body has the current amount and your max_cost (and, with cover, shipping_cost and insurance_premium)
409
IDEMPOTENCY_IN_PROGRESS
A shipment with this key is still being created (shipment_id, started_at; needs_review when it is with our team); wait, then retry with the same key
409
IDEMPOTENCY_RETRY
An earlier attempt with this key just failed and charged nothing; retry with the same key
422
IDEMPOTENCY_KEY_REUSED
The key was already used in your program for a different shipment, including one for another customer
429
DAILY_SHIPMENT_LIMIT_REACHED
This key has created 50 shipments this UTC day; the body has limit, resets_at and retry_after_seconds, and the response a Retry-After header
500
SHIPMENT_OUTCOME_UNKNOWN
We couldn’t confirm whether it went through; it is with our team (shipment_id, needs_review). Retrying with the same key is safe and never charges twice; don’t resend under a new key
502
We couldn’t confirm the carrier rate; retry
503
SHIPMENT_NOT_CREATED
It didn’t go through, and its postage is being taken off your statement
503
It didn’t go through and nothing was charged, or a check couldn’t run; retry with the same key
{ "error": "This shipment would take your statement past its credit limit.", "code": "CREDIT_LIMIT", "owed": 9995, "credit_limit": 10000, "shipment_total": 7.5 }
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CatchBack Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_dark.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=c0a46c19893e31a50cd0f4716d47686b","dark":"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_white.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=e3c457633020dab4b98738040c7ae111"},"favicon":"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_dark.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=c0a46c19893e31a50cd0f4716d47686b","api":{"playground":{"display":"simple"},"mdx":{"auth":{"method":"bearer"},"server":"https://catchbackcards.com"}},"appearance":{"default":"dark"},"navbar":{"links":[{"href":"mailto:support@catchbackcards.com","label":"Support"}],"primary":{"type":"button","label":"Launch App","href":"https://catchbackcards.com"}},"footer":{"socials":{"x":"https://x.com/catchback_cards","instagram":"https://www.instagram.com/catchback_cards","discord":"https://discord.gg/6WjMbRgPMq"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"CatchBack Website","icon":"globe","href":"https://catchbackcards.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"catchbackcards","hasAudioNarration":false,"actualSubdomain":"catchbackcards","customDomains":[],"gitSource":{"type":"github","owner":"josephhhzhanggg","repo":"catchback-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6b055ab3cc55a4c663edbdaa","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"Partner API","count":56},{"language":"default","tag":"API Reference","count":35},{"language":"default","tag":"Documentation","count":21},{"language":"default","tag":"Shipments","count":14},{"language":"default","tag":"Keys \u0026 revenue","count":8},{"language":"default","tag":"Features","count":7},{"language":"default","tag":"Resources","count":7},{"language":"default","tag":"Tokens \u0026 sell-back","count":7},{"language":"default","tag":"Concepts","count":7},{"language":"default","tag":"Non-crypto model endpoints","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"partner-api/v2/endpoints/create-customer-shipment","slug":"/partner-api/v2/endpoints/create-customer-shipment","pageMetadata":{"title":"Create a customer shipment","api":"POST /api/partner/v2/customers/{customer}/shipments","description":"Non-crypto model: ship 1-10 of a customer's vault cards in one box, with the postage on your statement.","href":"/partner-api/v2/endpoints/create-customer-shipment"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Non-crypto model: ship 1-10 of a customer’s vault cards in one box, with the postage on your statement.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,ParamField,ResponseField,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Scope: `,_jsx(_components.code,{children:`nft:orders`}),` · Rate limit: 30 a minute, shared with `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/create-order`,children:`Create an order`}),` and `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/sell-back-customer-card`,children:`Sell back a customer’s card`})]}),`\n`,_jsxs(_components.p,{children:[`For `,_jsx(_components.a,{href:`/partner-api/v2/settlement`,children:`Non-crypto model`}),` programs only; a Crypto Wallet program gets `,_jsx(_components.code,{children:`400 NOT_PARTNER_SETTLED`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Ships 1-10 of a customer’s vault cards in one box at a rate from `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/estimate-customer-shipment`,children:`Estimate a customer shipment`}),`. We re-quote the rate; the postage (and any cover’s premium) goes on your statement, and nothing is paid or signed. A shipment that doesn’t go through is taken off your statement.`]}),`\n`,_jsxs(_components.p,{children:[`The response is the shipment (`,_jsx(_components.code,{children:`processing`}),`) with its `,_jsx(_components.code,{children:`id`}),`. It then moves to `,_jsx(_components.code,{children:`shipped`}),` (with `,_jsx(_components.code,{children:`carrier`}),` and `,_jsx(_components.code,{children:`tracking_number`}),`) and `,_jsx(_components.code,{children:`delivered`}),`: follow it with `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/list-customer-shipments`,children:`List a customer’s shipments`}),` or the `,_jsx(_components.a,{href:`/partner-api/v2/webhooks#events`,children:_jsx(_components.code,{children:`nft_shipment.updated`})}),` webhook. Each key may create up to 50 shipments a UTC day.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Always send an `,_jsx(_components.code,{children:`Idempotency-Key`}),`, and reuse it when retrying. A retry with the same key never charges twice. See `,_jsx(_components.a,{href:`/partner-api/v2/idempotency`,children:`Idempotency`}),`.`]})}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,required:true,id:`param-idempotency-key`,children:_jsxs(_components.p,{children:[`Your own shipment id: 8-128 characters of `,_jsx(_components.code,{children:`A-Za-z0-9_-`}),`. Keys are per program: one key is one shipment, whichever customer it names. The same key with a different request (another customer, `,_jsx(_components.code,{children:`card_ids`}),`, `,_jsx(_components.code,{children:`address`}),`, `,_jsx(_components.code,{children:`rate`}),`, `,_jsx(_components.code,{children:`max_cost`}),`, `,_jsx(_components.code,{children:`cover_amount`}),`) is `,_jsx(_components.code,{children:`422`}),`.`]})}),`\n`,_jsx(ParamField,{path:`customer`,type:`string`,required:true,id:`param-customer`,children:_jsx(_components.p,{children:`Your own id for the customer.`})}),`\n`,_jsx(ParamField,{body:`card_ids`,type:`string[]`,required:true,id:`param-card-ids`,children:_jsxs(_components.p,{children:[`1-10 distinct `,_jsx(_components.code,{children:`card.id`}),`s from the customer’s vault, as for the estimate.`]})}),`\n`,_jsx(ParamField,{body:`address`,type:`object`,required:true,id:`param-address`,children:_jsxs(_components.p,{children:[`As for `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/estimate-customer-shipment`,children:`Estimate a customer shipment`}),`.`]})}),`\n`,_jsx(ParamField,{body:`rate`,type:`object`,required:true,id:`param-rate`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`{ \"carrier\": \"...\", \"token\": \"...\" }`}),` from the estimate’s `,_jsx(_components.code,{children:`rates`}),`.`]})}),`\n`,_jsx(ParamField,{body:`max_cost`,type:`number`,required:true,id:`param-max-cost`,children:_jsxs(_components.p,{children:[`The most the shipping may cost, in dollars: the estimate rate’s `,_jsx(_components.code,{children:`total`}),` if you sent `,_jsx(_components.code,{children:`cover_amount`}),`, else its `,_jsx(_components.code,{children:`amount`}),`. If the re-quote is higher, nothing is created and you get `,_jsx(_components.code,{children:`PRICE_CHANGED`}),` with the current `,_jsx(_components.code,{children:`amount`}),`.`]})}),`\n`,_jsx(ParamField,{body:`cover_amount`,type:`number | null`,id:`param-cover-amount`,children:_jsx(_components.p,{children:`Shipping insurance cover in dollars, as for the estimate. The sandbox’s one rate offers no cover, so leave it out there.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`201`}),` (200 with `,_jsx(_components.code,{children:`\"idempotent_replay\": true`}),` on a replay, with the shipment as it stands now). The shipment is the whole body, not wrapped.`]}),`\n`,_jsxs(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:[`The shipment. In the sandbox, pass it to `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/sandbox-ship`,children:`Simulate shipping`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[_jsx(_components.code,{children:`processing`}),` once created; then `,_jsx(_components.code,{children:`shipped`}),` and `,_jsx(_components.code,{children:`delivered`}),`. Also `,_jsx(_components.code,{children:`pending`}),` (being created), `,_jsx(_components.code,{children:`cancelled`}),` (by our team, rare; contact us) and `,_jsx(_components.code,{children:`needs_review`}),` (we couldn’t confirm it; our team resolves it).`]}),`\n`,_jsx(ResponseField,{name:`card_ids`,type:`string[]`,id:`param-card-ids-1`}),`\n`,_jsx(ResponseField,{name:`carrier`,type:`string | null`,id:`param-carrier`}),`\n`,_jsx(ResponseField,{name:`service`,type:`string | null`,id:`param-service`}),`\n`,_jsxs(ResponseField,{name:`service_token`,type:`string | null`,id:`param-service-token`,children:[`The rate’s `,_jsx(_components.code,{children:`token`}),`.`]}),`\n`,_jsx(ResponseField,{name:`cost`,type:`number | null`,id:`param-cost`,children:`What went on your statement: the postage plus any cover premium.`}),`\n`,_jsx(ResponseField,{name:`cover_amount`,type:`number | null`,id:`param-cover-amount-1`}),`\n`,_jsx(ResponseField,{name:`insurance_cost`,type:`number | null`,id:`param-insurance-cost`,children:`The cover’s premium (0 without cover).`}),`\n`,_jsx(ResponseField,{name:`destination_country`,type:`string`,id:`param-destination-country`}),`\n`,_jsx(ResponseField,{name:`tracking_number`,type:`string | null`,id:`param-tracking-number`,children:`Set once shipped.`}),`\n`,_jsx(ResponseField,{name:`tracking_url`,type:`string | null`,id:`param-tracking-url`,children:`The carrier’s own tracking page.`}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`}),`\n`,_jsx(ResponseField,{name:`status_updated_at`,type:`string | null`,id:`param-status-updated-at`}),`\n`,_jsx(ResponseField,{name:`shipped_at`,type:`string | null`,id:`param-shipped-at`}),`\n`,_jsxs(ResponseField,{name:`expected_delivery`,type:`string | null`,id:`param-expected-delivery`,children:[`A `,_jsx(_components.code,{children:`YYYY-MM-DD`}),` date.`]}),`\n`,_jsx(ResponseField,{name:`delivered_at`,type:`string | null`,id:`param-delivered-at`}),`\n`,_jsxs(ResponseField,{name:`needs_review`,type:`boolean`,id:`param-needs-review`,children:[`Present and `,_jsx(_components.code,{children:`true`}),` when `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`needs_review`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`address_removed`,type:`boolean`,id:`param-address-removed`,children:[`Present and `,_jsx(_components.code,{children:`true`}),` once the address has been deleted.`]}),`\n`,_jsxs(ResponseField,{name:`idempotent_replay`,type:`boolean`,id:`param-idempotent-replay`,children:[`Present and `,_jsx(_components.code,{children:`true`}),` on a replay.`]}),`\n`,_jsx(_components.p,{children:`We never return the delivery address.`}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Nothing is created or charged on any refusal below, except `,_jsx(_components.code,{children:`SHIPMENT_OUTCOME_UNKNOWN`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_IDEMPOTENCY_KEY`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Idempotency-Key`}),` missing or malformed`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{}),_jsxs(_components.td,{children:[`Any `,_jsx(_components.code,{children:`400`}),` of `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/estimate-customer-shipment#errors`,children:`Estimate a customer shipment`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_RATE`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`rate`}),` isn’t the `,_jsx(_components.code,{children:`carrier`}),` and `,_jsx(_components.code,{children:`token`}),` of a rate from the estimate`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_MAX_COST`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`max_cost`}),` is missing, not positive or over 10,000`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`402`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CREDIT_LIMIT`})}),_jsxs(_components.td,{children:[`The postage would take what you owe past your credit limit; the body has `,_jsx(_components.code,{children:`owed`}),`, `,_jsx(_components.code,{children:`credit_limit`}),` and `,_jsx(_components.code,{children:`shipment_total`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CUSTOMER_BLOCKED`})}),_jsx(_components.td,{children:`This customer may not ship cards`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CUSTOMER_UNAVAILABLE`})}),_jsx(_components.td,{children:`This customer’s account is unavailable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CUSTOMER_NOT_FOUND`})}),_jsx(_components.td,{children:`No customer with that id has bought from your program`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CARDS_NOT_IN_VAULT`})}),_jsxs(_components.td,{children:[`Your program never pulled a card into this customer’s vault (another customer’s card, or a wrong id); `,_jsx(_components.code,{children:`card_ids`}),` lists them`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CARDS_NOT_SHIPPABLE`})}),_jsxs(_components.td,{children:[`A card your program pulled into this vault can’t ship now (sold back, already shipping, listed or on hold; `,_jsx(_components.code,{children:`cards`}),` gives each `,_jsx(_components.code,{children:`reason`}),`), or left the vault while the shipment was being created`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`RATE_UNAVAILABLE`})}),_jsx(_components.td,{children:`The carrier no longer offers that rate; estimate again`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`COVER_UNAVAILABLE`})}),_jsxs(_components.td,{children:[`The chosen service has no cover option; choose another rate or leave `,_jsx(_components.code,{children:`cover_amount`}),` out`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`PRICE_CHANGED`})}),_jsxs(_components.td,{children:[`The rate (with any cover) now costs more than `,_jsx(_components.code,{children:`max_cost`}),`; the body has the current `,_jsx(_components.code,{children:`amount`}),` and your `,_jsx(_components.code,{children:`max_cost`}),` (and, with cover, `,_jsx(_components.code,{children:`shipping_cost`}),` and `,_jsx(_components.code,{children:`insurance_premium`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`IDEMPOTENCY_IN_PROGRESS`})}),_jsxs(_components.td,{children:[`A shipment with this key is still being created (`,_jsx(_components.code,{children:`shipment_id`}),`, `,_jsx(_components.code,{children:`started_at`}),`; `,_jsx(_components.code,{children:`needs_review`}),` when it is with our team); wait, then retry with the same key`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`IDEMPOTENCY_RETRY`})}),_jsx(_components.td,{children:`An earlier attempt with this key just failed and charged nothing; retry with the same key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`IDEMPOTENCY_KEY_REUSED`})}),_jsx(_components.td,{children:`The key was already used in your program for a different shipment, including one for another customer`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`DAILY_SHIPMENT_LIMIT_REACHED`})}),_jsxs(_components.td,{children:[`This key has created 50 shipments this UTC day; the body has `,_jsx(_components.code,{children:`limit`}),`, `,_jsx(_components.code,{children:`resets_at`}),` and `,_jsx(_components.code,{children:`retry_after_seconds`}),`, and the response a `,_jsx(_components.code,{children:`Retry-After`}),` header`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SHIPMENT_OUTCOME_UNKNOWN`})}),_jsxs(_components.td,{children:[`We couldn’t confirm whether it went through; it is with our team (`,_jsx(_components.code,{children:`shipment_id`}),`, `,_jsx(_components.code,{children:`needs_review`}),`). Retrying with the same key is safe and never charges twice; don’t resend under a new key`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`We couldn’t confirm the carrier rate; retry`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SHIPMENT_NOT_CREATED`})}),_jsx(_components.td,{children:`It didn’t go through, and its postage is being taken off your statement`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`It didn’t go through and nothing was charged, or a check couldn’t run; retry with the same key`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a customer shipment","api":"POST /api/partner/v2/customers/{customer}/shipments","description":"Non-crypto model: ship 1-10 of a customer's vault cards in one box, with the postage on your statement.","href":"/partner-api/v2/endpoints/create-customer-shipment"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[205,223,"pre:`pre`,span:`span`,strong:`strong`,tb"],[319,338,"CodeBlock,Heading,ParamField,RequestExample,ResponseExample,"],[383,390,"CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading"],[489,501,"questExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)"],[17236,17664,",`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://sandbox.catchbackcards.com/api/partner/v2/customers/user-1842/shipments`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CATCHBACK_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: acme-ship-1c9e04\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"card_ids\": [\"838a5e7f-dc62-4618-ad4a-cf015de20536\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"address\": { \"name\": \"Alice Tester\", \"address1\": \"1 Market St\", \"city\": \"San Francisco\", \"state\": \"CA\", \"zip\": \"94105\", \"country\": \"US\", \"phone\": \"4155550100\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"rate\": { \"carrier\": \"USPS\", \"token\": \"r_9f3c\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_cost\": 7.5`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`201`,numberOfLines:`19`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"80ba23e1-58ae-45d1-ba15-f88fdea1fb52\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"processing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"card_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"838a5e7f-dc62-4618-ad4a-cf015de20536\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"carrier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USPS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"service\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Ground Advantage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"service_token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"r_9f3c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cover_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"insurance_cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"destination_country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"US\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tracking_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tracking_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-24T18:20:02.114Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status_updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"shipped_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expected_delivery\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"delivered_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`402`,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This shipment would take your statement past its credit limit.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CREDIT_LIMIT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"owed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9995`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"credit_limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"shipment_total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://sandbox.catchbackcards.com/api/partner/v2/customers/user-1842/shipments\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$CATCHBACK_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Idempotency-Key: acme-ship-1c9e04\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"card_ids\": [\"838a5e7f-dc62-4618-ad4a-cf015de20536\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"address\": { \"name\": \"Alice Tester\", \"address1\": \"1 Market St\", \"city\": \"San Francisco\", \"state\": \"CA\", \"zip\": \"94105\", \"country\": \"US\", \"phone\": \"4155550100\" },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"rate\": { \"carrier\": \"USPS\", \"token\": \"r_9f3c\" },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"max_cost\": 7.5\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"201","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"19\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"80ba23e1-58ae-45d1-ba15-f88fdea1fb52\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"processing\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"card_ids\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"838a5e7f-dc62-4618-ad4a-cf015de20536\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"carrier\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USPS\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"service\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Ground Advantage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"service_token\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"r_9f3c\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cost\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">7.5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cover_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"insurance_cost\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"destination_country\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"US\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tracking_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tracking_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-11-24T18:20:02.114Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status_updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"shipped_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expected_delivery\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"delivered_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"402","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"1\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{ \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"This shipment would take your statement past its credit limit.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"CREDIT_LIMIT\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"owed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">9995\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"credit_limit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">10000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"shipment_total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">7.5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create a customer shipment","path":"/api/partner/v2/customers/{customer}/shipments","servers":[{"url":"https://catchbackcards.com"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"Idempotency-Key":{"schema":[{"type":"string","description":"Your own shipment id: 8-128 characters of `A-Za-z0-9_-` . Keys are per program: one key is one shipment, whichever customer it names. The same key with a different request (another customer, `card_ids` , `address` , `rate` , `max_cost` , `cover_amount` ) is `422` .","required":true}]}},"cookie":{},"path":{"customer":{"schema":[{"type":"string","description":"Your own id for the customer.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"card_ids":[{"type":"array","items":[{"type":"string"}],"description":"1-10 distinct `card.id` s from the customer’s vault, as for the estimate.","required":true}],"address":[{"type":"object","properties":{},"description":"As for Estimate a customer shipment .","required":true}],"rate":[{"type":"object","properties":{},"description":"`{ \"carrier\": \"...\", \"token\": \"...\" }` from the estimate’s `rates` .","required":true}],"max_cost":[{"type":"number","description":"The most the shipping may cost, in dollars: the estimate rate’s `total` if you sent `cover_amount` , else its `amount` . If the re-quote is higher, nothing is created and you get `PRICE_CHANGED` with the current `amount` .","required":true}],"cover_amount":[{"type":"object","properties":{},"description":"Shipping insurance cover in dollars, as for the estimate. The sandbox’s one rate offers no cover, so leave it out there."}]}}],"examples":{"example":{"value":{"card_ids":["\u003cstring>"],"address":{},"rate":{},"max_cost":123,"cover_amount":{}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"The shipment. In the sandbox, pass it to Simulate shipping ."}],"status":[{"type":"string","description":"`processing` once created; then `shipped` and `delivered` . Also `pending` (being created), `cancelled` (by our team, rare; contact us) and `needs_review` (we couldn’t confirm it; our team resolves it)."}],"card_ids":[{"type":"array","items":[{"type":"string"}]}],"carrier":[{"type":"object","properties":{}}],"service":[{"type":"object","properties":{}}],"service_token":[{"type":"object","properties":{},"description":"The rate’s `token` ."}],"cost":[{"type":"object","properties":{},"description":"What went on your statement: the postage plus any cover premium."}],"cover_amount":[{"type":"object","properties":{}}],"insurance_cost":[{"type":"object","properties":{},"description":"The cover’s premium (0 without cover)."}],"destination_country":[{"type":"string"}],"tracking_number":[{"type":"object","properties":{},"description":"Set once shipped."}],"tracking_url":[{"type":"object","properties":{},"description":"The carrier’s own tracking page."}],"created_at":[{"type":"string"}],"status_updated_at":[{"type":"object","properties":{}}],"shipped_at":[{"type":"object","properties":{}}],"expected_delivery":[{"type":"object","properties":{},"description":"A `YYYY-MM-DD` date."}],"delivered_at":[{"type":"object","properties":{}}],"needs_review":[{"type":"boolean","description":"Present and `true` when `status` is `needs_review` ."}],"address_removed":[{"type":"boolean","description":"Present and `true` once the address has been deleted."}],"idempotent_replay":[{"type":"boolean","description":"Present and `true` on a replay."}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","status":"\u003cstring>","card_ids":["\u003cstring>"],"carrier":{},"service":{},"service_token":{},"cost":{},"cover_amount":{},"insurance_cost":{},"destination_country":"\u003cstring>","tracking_number":{},"tracking_url":{},"created_at":"\u003cstring>","status_updated_at":{},"shipped_at":{},"expected_delivery":{},"delivered_at":{},"needs_review":true,"address_removed":true,"idempotent_replay":true}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"catchbackcards","siteName":"CatchBack Documentation","title":"Create a customer shipment - CatchBack Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T09:36:57.654Z","originalFileLocation":"partner-api/v2/endpoints/create-customer-shipment.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Non-crypto model: ship 1-10 of a customer\u0026#x27;s vault cards in one box, with the postage on your statement.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CatchBack Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a customer shipment - CatchBack Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Non-crypto model: ship 1-10 of a customer\u0026#x27;s vault cards in one box, with the postage on your statement.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CatchBack Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/create-customer-shipment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://catchbackcards.mintlify.site/_mintlify/api/og/v2?division=Non-crypto+model+endpoints\u0026amp;title=Create+a+customer+shipment\u0026amp;description=Non-crypto+model%3A+ship+1-10+of+a+customer%27s+vault+cards+in+one+box%2C+with+the+postage+on+your+statement.\u0026amp;theme=779a40f3f67beacb233f5a4b\u0026amp;signature=4317b5862769db9bf354cdc4f5e3306855b0965f23175a86de1012031bbfe8ec\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a customer shipment - CatchBack Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Non-crypto model: ship 1-10 of a customer\u0026#x27;s vault cards in one box, with the postage on your statement.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://catchbackcards.mintlify.site/_mintlify/api/og/v2?division=Non-crypto+model+endpoints\u0026amp;title=Create+a+customer+shipment\u0026amp;description=Non-crypto+model%3A+ship+1-10+of+a+customer%27s+vault+cards+in+one+box%2C+with+the+postage+on+your+statement.\u0026amp;theme=779a40f3f67beacb233f5a4b\u0026amp;signature=4317b5862769db9bf354cdc4f5e3306855b0965f23175a86de1012031bbfe8ec\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CatchBack Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/create-customer-shipment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/partner-api/v2/endpoints/create-customer-shipment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://catchbackcards.mintlify.app/#organization\",\"name\":\"CatchBack Documentation\",\"url\":\"https://catchbackcards.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_dark.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=c0a46c19893e31a50cd0f4716d47686b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://catchbackcards.mintlify.app#website\",\"name\":\"CatchBack Documentation\",\"url\":\"https://catchbackcards.mintlify.app\",\"publisher\":{\"@id\":\"https://catchbackcards.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/create-customer-shipment#webpage\",\"url\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/create-customer-shipment\",\"name\":\"Create a customer shipment\",\"description\":\"Non-crypto model: ship 1-10 of a customer's vault cards in one box, with the postage on your statement.\",\"dateModified\":\"2026-11-24T09:36:57.654Z\",\"isPartOf\":{\"@id\":\"https://catchbackcards.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/create-customer-shipment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/create-customer-shipment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Non-crypto model endpoints\",\"item\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-vault\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a customer shipment\",\"item\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/create-customer-shipment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/create-customer-shipment#apireference\",\"headline\":\"Create a customer shipment\",\"name\":\"Create a customer shipment\",\"description\":\"Non-crypto model: ship 1-10 of a customer's vault cards in one box, with the postage on your statement.\",\"url\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/create-customer-shipment\",\"mainEntityOfPage\":{\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/create-customer-shipment#webpage\"},\"dateModified\":\"2026-11-24T09:36:57.654Z\",\"publisher\":{\"@id\":\"https://catchbackcards.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://catchbackcards.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CatchBack Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CatchBack Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/partner-api/v2/endpoints/create-customer-shipment.md","siteName":"CatchBack Documentation","nav":{"global":{"anchors":[{"anchor":"CatchBack Website","icon":"globe","href":"https://catchbackcards.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/about-catchback/overview"}]},{"tab":"Partner API","groups":[{"group":"Get started","pages":[{"title":"Partner API v2","sidebarTitle":"Overview","href":"/partner-api/v2/overview"},{"title":"Integration models","href":"/partner-api/v2/integration-models"},{"title":"MCP server","href":"/partner-api/v2/mcp"},{"title":"Sandbox","href":"/partner-api/v2/quickstart"},{"title":"Authentication and keys","href":"/partner-api/v2/authentication"}]},{"group":"Concepts","pages":[{"title":"Orders and statuses","href":"/partner-api/v2/orders"},{"title":"Verify a pull","href":"/partner-api/v2/verify-a-pull"},{"title":"Odds","href":"/partner-api/v2/odds"},{"title":"Webhooks","href":"/partner-api/v2/webhooks"},{"title":"Idempotency","href":"/partner-api/v2/idempotency"},{"title":"Errors","href":"/partner-api/v2/errors"},{"title":"Limits and compliance","href":"/partner-api/v2/limits-and-compliance"}]},{"group":"Crypto Wallet model","pages":[{"title":"Payments","href":"/partner-api/v2/payments"},{"title":"Sell-back","href":"/partner-api/v2/sell-back"},{"title":"Shipping","href":"/partner-api/v2/shipping"},{"title":"Chains, tokens and metadata","href":"/partner-api/v2/chains-and-metadata"}]},{"group":"Non-crypto model","pages":[{"title":"Non-crypto model","href":"/partner-api/v2/settlement"}]},{"group":"Packs \u0026 orders","pages":[{"title":"List packs","api":"GET /api/partner/v2/catalog/packs","href":"/partner-api/v2/endpoints/list-packs"},{"title":"Get a pack's odds and pool","api":"GET /api/partner/v2/catalog/packs/pool","href":"/partner-api/v2/endpoints/get-pack-pool"},{"title":"Create an order","api":"POST /api/partner/v2/orders","href":"/partner-api/v2/endpoints/create-order"},{"title":"List orders","api":"GET /api/partner/v2/orders","href":"/partner-api/v2/endpoints/list-orders"},{"title":"Get an order","api":"GET /api/partner/v2/orders/{id}","href":"/partner-api/v2/endpoints/get-order"},{"title":"Verify an order's pull","api":"GET /api/partner/v2/orders/{id}/verification","href":"/partner-api/v2/endpoints/get-order-verification"}]},{"group":"Tokens \u0026 sell-back","pages":[{"title":"List a wallet's tokens","api":"GET /api/partner/v2/wallets/{address}/tokens","href":"/partner-api/v2/endpoints/list-wallet-tokens"},{"title":"Get a token","api":"GET /api/partner/v2/tokens/{tokenId}","href":"/partner-api/v2/endpoints/get-token"},{"title":"Quote a sell-back","api":"POST /api/partner/v2/tokens/{tokenId}/quote","href":"/partner-api/v2/endpoints/create-sellback-quote"},{"title":"Burn without gas","api":"POST /api/partner/v2/tokens/{tokenId}/burn","href":"/partner-api/v2/endpoints/relay-burn"},{"title":"List sell-back quotes","sidebarTitle":"List quotes","api":"GET /api/partner/v2/quotes","href":"/partner-api/v2/endpoints/list-quotes"},{"title":"Get a quote","api":"GET /api/partner/v2/quotes/{quoteId}","href":"/partner-api/v2/endpoints/get-quote"},{"title":"Token metadata","api":"GET /api/partner-nfts/metadata/{chainId}/{tokenId}","href":"/partner-api/v2/endpoints/get-token-metadata"}]},{"group":"Shipments","pages":[{"title":"Estimate a shipment","api":"POST /api/partner/v2/shipments/estimate","href":"/partner-api/v2/endpoints/estimate-shipment"},{"title":"Create a shipment","api":"POST /api/partner/v2/shipments","href":"/partner-api/v2/endpoints/create-shipment"},{"title":"Estimate a one-token shipment","api":"POST /api/partner/v2/tokens/{tokenId}/shipment/estimate","href":"/partner-api/v2/endpoints/estimate-token-shipment"},{"title":"Create a one-token shipment","api":"POST /api/partner/v2/tokens/{tokenId}/shipment","href":"/partner-api/v2/endpoints/create-token-shipment"},{"title":"List shipments","api":"GET /api/partner/v2/shipments","href":"/partner-api/v2/endpoints/list-shipments"},{"title":"Get a shipment","api":"GET /api/partner/v2/shipments/{id}","href":"/partner-api/v2/endpoints/get-shipment"},{"title":"Renew a shipment","api":"POST /api/partner/v2/shipments/{id}/renew","href":"/partner-api/v2/endpoints/renew-shipment"}]},{"group":"Webhook endpoints","pages":[{"title":"Register a webhook","api":"POST /api/partner/v2/webhooks","href":"/partner-api/v2/endpoints/register-webhook"},{"title":"Get your webhook","api":"GET /api/partner/v2/webhooks","href":"/partner-api/v2/endpoints/list-webhooks"},{"title":"Delete a webhook","api":"DELETE /api/partner/v2/webhooks/{id}","href":"/partner-api/v2/endpoints/delete-webhook"},{"title":"Test a webhook","api":"POST /api/partner/v2/webhooks/{id}/test","href":"/partner-api/v2/endpoints/test-webhook"}]},{"group":"Keys \u0026 revenue","pages":[{"title":"Get your key","api":"GET /api/partner/v2/keys","href":"/partner-api/v2/endpoints/get-key"},{"title":"Rotate your key","api":"POST /api/partner/v2/keys/rotate","href":"/partner-api/v2/endpoints/rotate-key"},{"title":"Revoke the previous key","api":"POST /api/partner/v2/keys/revoke-previous","href":"/partner-api/v2/endpoints/revoke-previous-key"},{"title":"Get your revenue statement","api":"GET /api/partner/v2/revenue","href":"/partner-api/v2/endpoints/get-revenue"}]},{"group":"Non-crypto model endpoints","pages":[{"title":"Get a customer's vault","api":"GET /api/partner/v2/customers/{customer}/vault","href":"/partner-api/v2/endpoints/get-customer-vault"},{"title":"Sell back a customer's card","api":"POST /api/partner/v2/customers/{customer}/cards/{card_id}/sellback","href":"/partner-api/v2/endpoints/sell-back-customer-card"},{"title":"Estimate a customer shipment","api":"POST /api/partner/v2/customers/{customer}/shipments/estimate","description":"Non-crypto model: live carrier rates to ship 1-10 of a customer's vault cards in one box. Charges nothing and stores nothing.","href":"/partner-api/v2/endpoints/estimate-customer-shipment"},{"title":"Create a customer shipment","api":"POST /api/partner/v2/customers/{customer}/shipments","href":"/partner-api/v2/endpoints/create-customer-shipment"},{"title":"List a customer's shipments","api":"GET /api/partner/v2/customers/{customer}/shipments","description":"Non-crypto model: a customer's latest 100 shipments, newest first, with status and tracking.","href":"/partner-api/v2/endpoints/list-customer-shipments"},{"title":"Get your statement","api":"GET /api/partner/v2/settlement","href":"/partner-api/v2/endpoints/get-settlement"}]},{"group":"Sandbox","pages":[{"title":"Simulate a payment","api":"POST /api/partner/v2/sandbox/payments/{intentId}","href":"/partner-api/v2/endpoints/sandbox-pay"},{"title":"Run the background work","api":"POST /api/partner/v2/sandbox/tick","href":"/partner-api/v2/endpoints/sandbox-tick"},{"title":"Mark a shipment shipped or delivered","sidebarTitle":"Simulate shipping","api":"POST /api/partner/v2/sandbox/shipments/{id}","href":"/partner-api/v2/endpoints/sandbox-ship"}]},{"group":"Going live","pages":[{"title":"Go-live checklist","href":"/partner-api/v2/go-live-checklist"},{"title":"Changelog","href":"/partner-api/v2/changelog"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/packs/list-packs"}]}]},"basePath":"","title":"Create a customer shipment - CatchBack Documentation","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-x4vGgoST.js","snippetPresets-BGlsYH49.js","utils-D225GpYB.js","style-to-object-BY3JEAdk.js","utils-fb7dxv-3.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-D0sNzoEe.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C4iMfrOs.js","_Uint8Array-DDor1j2p.js","isObject-FP1Yky1u.js","ApiExamples-Bw_TWYoP.js","usePlaygroundInputsStore-DLRpNM_Z.js","shallow-DCZ_mvT2.js","isEqual-BZMHHGz2.js","CodeSnippets-CqYNT6UN.js","CodeSnippet-AsYrl7_f.js","getApiPlaygroundDisplay-B1HdZsAn.js","Page-COAeG2by.js","DynamicMarkdown-Bg54PExR.js","SectionHeading-BVOfbSTS.js","icon-Bwg0LftJ.js","MethodPill-ETXe5J4U.js","getPastedJson-6m1DH7UM.js","Check2Icon-Bz4v4IkN.js","axios-CsQoIw0U.js"]}