API reference

RebatesPreview

Back-end rebate claims, submitted inside the vendor's window and matched against what the vendor paid.

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_idstringRequired
program_idstringRequired
external_idstring
periodobject
period.startstring (date)
period.endstring (date)
claimed_amountMoneyRequired
claimed_amount.amountnumberRequired
In major units, so 36000 means 36,000.00.
claimed_amount.currencystringRequired
ISO 4217 code.
deal_registration_idsarray of string
evidencearray of Evidence
evidence[].namestring
evidence[].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_fields in its capabilities. On read, the portal-specific values Airstride captured, already parsed.

Responses

202
Accepted. The claim is pending and 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_EXISTS and JOB_ALREADY_RUNNING.
422
The request parsed but failed validation. Codes include VALIDATION_FAILED, CAPABILITY_NOT_SUPPORTED, REGISTRATION_NOT_APPROVED and CLAIM_WINDOW_CLOSED.
429
Rate limited. Wait until X-RateLimit-Reset before retrying.
500
Something broke on our side.
Request
curl -X POST "https://app.airstride.ai/api/open-partnerships/rebates" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

List rebate claims

GET/rebatesPreview

Query parameters

connection_idstring
Only objects from this connection.
statusstring
pending: accepted by Airstride, not yet in the portal. submitted: in the portal, waiting for the vendor. approved: the vendor approved it and payment is due. rejected: the vendor declined it. paid: payments matched cover the approved amount. short_paid: payments matched fall short of the approved amount; see shortfall. failed: Airstride could not submit it.One of pending, submitted, approved, rejected, paid, short_paid, failed
deadline_beforestring (date)
Claims whose window closes before this date.
updated_afterstring (date-time)
Only objects changed after this time. Use it for incremental sync.
include_remote_databoolean
Include remote_data, the raw values captured from the portal.
limitinteger
Page size.
cursorstring
The next_cursor from the previous page.

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.

Responses

200
A page of rebate claims.
400
Invalid parameters, or a version we do not recognise.
401
Missing or invalid API key.
429
Rate limited. Wait until X-RateLimit-Reset before retrying.
500
Something broke on our side.
Request
curl -X GET "https://app.airstride.ai/api/open-partnerships/rebates" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY"

Get a rebate claim

GET/rebates/{rebate_id}Preview

Path parameters

rebate_idstringRequired

Query parameters

include_remote_databoolean
Include remote_data, the raw values captured from the portal.

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.

Responses

200
The rebate claim.
401
Missing or invalid API key.
404
The resource does not exist, or belongs to another organisation.
429
Rate limited. Wait until X-RateLimit-Reset before retrying.
500
Something broke on our side.
Request
curl -X GET "https://app.airstride.ai/api/open-partnerships/rebates/{rebate_id}" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY"