Offers are short-lived financing quotes for one or more pending merchant disbursals. Create an offer when your backend knows which receivables a merchant wants to advance and needs Shopsuey Capital to calculate the service fee and net proceeds.
An offer does not create a financing obligation. Present its terms to the merchant through the advance confirmation flow, and create the advance before expires_at — offers expire thirty minutes after creation. If the underlying disbursals change or the offer expires, request a new offer. Per-line pricing and the aggregate blended rate are explained in the advance flow.
The Offer Object
An offer pins the quoted terms for one or more pending disbursals until expires_at. Monetary values are integer centavos and rates are integer basis points.
offer_idstring · uuidUnique identifier for this offer. Use it as offer_id when creating an advance. amountinteger · centavosTotal face value of all quoted disbursals. fee_amountinteger · centavosTotal service fee deducted from the quoted amount. net_amountinteger · centavosAmount available to the merchant after the service fee. fee_bpsinteger · basis pointsBlended fee rate across all offer lines. fee_schedule_versionstringPricing schedule used to calculate the pinned quote. first_original_disbursal_datestring · dateEarliest original disbursal date, formatted as YYYY-MM-DD. last_original_disbursal_datestring · dateLatest original disbursal date, formatted as YYYY-MM-DD. expires_atstring · date-timeISO 8601 timestamp after which this quote can no longer create an advance. disbursalsarray of offer line objectsQuoted disbursal lines included in the blended offer.
offer_line_idstring · uuidUnique identifier for this quoted offer line. line_numberintegerOne-based position of the line in the offer. partner_refstring · nullableYour unique reference for the pending disbursal. Required for reconciliation partners; nullable for forward-billing partners that quote before generating a final disbursal ID. transactionsjson · nullablePartner-owned free-form JSON carried through the quoted line unchanged. amountinteger · centavosFace value of this disbursal line. fee_amountinteger · centavosService fee allocated to this line. net_amountinteger · centavosAmount available from this line after its fee. fee_bpsinteger · basis pointsFee rate applied to this line. original_disbursal_datestring · dateDate the partner originally expected to disburse this receivable, formatted as YYYY-MM-DD.
{
"offer_id": "00000000-0000-4000-8000-000000000001",
"amount": 250000,
"fee_amount": 4375,
"net_amount": 245625,
"fee_bps": 175,
"fee_schedule_version": "v1.0",
"first_original_disbursal_date": "2026-07-15",
"last_original_disbursal_date": "2026-07-15",
"expires_at": "2026-07-13T08:30:00.000Z",
"disbursals": [
{
"offer_line_id": "00000000-0000-4000-8000-000000000011",
"line_number": 1,
"partner_ref": null,
"transactions": [
"txn-001",
{
"id": "txn-002"
}
],
"amount": 250000,
"fee_amount": 4375,
"net_amount": 245625,
"fee_bps": 175,
"original_disbursal_date": "2026-07-15"
}
]
}Create an Offer
Quotes one blended offer. Send a disbursals array whose lines each contain an integer-centavo amount and an original_disbursal_date in YYYY-MM-DD format. partner_ref stays required for reconciliation partners and becomes optional for forward-billing partners. Each line may also include optional free-form transactions JSON. Use the returned offer_id to create an advance before the quote expires.
The OpenAPI operation ID is createOffer. Send an Idempotency-Key header to make the request safe to retry.
disbursalsarray of objects · requiredDisbursal lines to quote as one blended-rate offer. At least one line is required.
curl -X POST "https://api-795734133708.asia-east1.run.app/v1/offers" \
-H "Authorization: Bearer $SSC_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: offer-2026-07-17-001' \
--data '{
"disbursals": [
{
"partner_ref": "DISB-EXAMPLE-001",
"amount": 250000,
"original_disbursal_date": "2026-07-15"
},
{
"partner_ref": "DISB-EXAMPLE-002",
"amount": 100000,
"original_disbursal_date": "2026-07-18"
}
]
}'