Submit a rebate claim
POST/rebatesRuns as a jobPreview
Submits a rebate claim to the vendor behind connection_id. Airstride rejects the request with 422 if the programme's claim window has already closed. Returns 202 with the claim in pending.
Headers
Airstride-Versionstring- The API version, as a date. Defaults to the version pinned on the key. The first version of Open Partnerships is
2026-12-01. Idempotency-KeystringRequired- A unique value per logical write, such as a UUID. Required on every write. Retry with the same key and the same body after a timeout or network error; you get the original response, never a second registration or a second claim.
Request body
connection_idstringRequiredprogram_idstringRequiredexternal_idstringperiodobjectperiod.startstring (date)period.endstring (date)claimed_amountMoneyRequiredclaimed_amount.amountnumberRequired- In major units, so 36000 means 36,000.00.
claimed_amount.currencystringRequired- ISO 4217 code.
deal_registration_idsarray of stringevidencearray of Evidenceevidence[].namestringevidence[].urlstring (uri)Required- An HTTPS link Airstride downloads once and attaches in the portal.
vendor_fieldsVendorFields- Portal-specific fields outside the common model. On write, the keys a connection accepts and requires are described by
vendor_fieldsin its capabilities. On read, the portal-specific values Airstride captured, already parsed.
Responses
- 202
- Accepted. The claim is
pendingand a job is running. - 400
- Invalid parameters, or a version we do not recognise.
- 401
- Missing or invalid API key.
- 403
- The key is valid but cannot do this. Includes a key without the Open Partnerships permission (
FORBIDDEN) and a connection whose admin did not grant the scope this call needs (SCOPE_NOT_GRANTED). - 404
- The resource does not exist, or belongs to another organisation.
- 409
- The request conflicts with the current state. Codes include
IDEMPOTENCY_KEY_REUSED,CONNECTION_NEEDS_REAUTH,CONNECTION_DISCONNECTED,CONNECTION_EXISTSandJOB_ALREADY_RUNNING. - 422
- The request parsed but failed validation. Codes include
VALIDATION_FAILED,CAPABILITY_NOT_SUPPORTED,REGISTRATION_NOT_APPROVEDandCLAIM_WINDOW_CLOSED. - 429
- Rate limited. Wait until
X-RateLimit-Resetbefore retrying. - 500
- Something broke on our side.
curl -X POST "https://app.airstride.ai/api/open-partnerships/rebates" \
-H "X-API-Key: $AIRSTRIDE_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"