Aller au contenu principal

API reference

The corporate API: every operation an organisation key can call, generated from the WRAPA OpenAPI specification. Required fields are marked *; responses show the envelope’s data (for paged lists, one item).

People and HMO cover

POST/api/v1/employer/hmo/employeesEnrol an employee on a health plan

Needs group_members:enroll

Body (JSON)

hmoPlanId*string (uuid)
employeeUserId*string (uuid)
customerTypestring (nullable)

Response

id*string (uuid)
hmoOrganizationId*string (uuid)
hmoOrganizationName*string
hmoPlanId*string (uuid)
hmoPlanName*string
customerUserId*string (uuid)
subscriptionNumber*string
customerType*string
status*string
startDate*string (date) (nullable)
endDate*string (date) (nullable)
premiumAmount*number (double)
currency*string
membershipCardNumber*string (nullable)
hmoMemberCode*string (nullable)
employerMemberNumber*string (nullable)
paymentIntentReference*string (nullable)
createdAt*string (date-time)
providerDataSharingConsentOutstandingboolean
employerOrganizationIdstring (uuid) (nullable)
employerNamestring (nullable)
renewedFromSubscriptionIdstring (uuid) (nullable)
renewedFromSubscriptionNumberstring (nullable)
renewedToSubscriptionIdstring (uuid) (nullable)
renewedToSubscriptionNumberstring (nullable)
hmoPlanVersionNumberinteger (int32) (nullable)
paidThroughDatestring (date) (nullable)
memberNamestring (nullable)
memberDateOfBirthstring (date) (nullable)
memberGenderstring (nullable)
dependentsCountinteger (int32) (nullable)
POST/api/v1/employer/hmo/employees/{subscriptionId}/deactivateEnd an employee’s health cover

Needs group_members:enroll or group_members:remove

Parameters

subscriptionId*pathstring (uuid)

Body (JSON)

reason*string
lastCoverDaystring (date) (nullable)

Response

id*string (uuid)
hmoOrganizationId*string (uuid)
hmoOrganizationName*string
hmoPlanId*string (uuid)
hmoPlanName*string
customerUserId*string (uuid)
subscriptionNumber*string
customerType*string
status*string
startDate*string (date) (nullable)
endDate*string (date) (nullable)
premiumAmount*number (double)
currency*string
membershipCardNumber*string (nullable)
hmoMemberCode*string (nullable)
employerMemberNumber*string (nullable)
paymentIntentReference*string (nullable)
createdAt*string (date-time)
providerDataSharingConsentOutstandingboolean
employerOrganizationIdstring (uuid) (nullable)
employerNamestring (nullable)
renewedFromSubscriptionIdstring (uuid) (nullable)
renewedFromSubscriptionNumberstring (nullable)
renewedToSubscriptionIdstring (uuid) (nullable)
renewedToSubscriptionNumberstring (nullable)
hmoPlanVersionNumberinteger (int32) (nullable)
paidThroughDatestring (date) (nullable)
memberNamestring (nullable)
memberDateOfBirthstring (date) (nullable)
memberGenderstring (nullable)
dependentsCountinteger (int32) (nullable)
POST/api/v1/employer/hmo/employees/bulkEnrol many employees on a health plan

Needs group_members:enroll

Body (JSON)

hmoPlanId*string (uuid)
employees*BulkEmployeeEntry[]

Response

index*integer (int32)
email*string
success*boolean
subscriptionId*string (uuid) (nullable)
employerMemberNumber*string (nullable)
errorCode*string (nullable)
errorMessage*string (nullable)
GET/api/v1/employer/hmo/subscriptionsList employees’ health memberships

Parameters

pagequeryinteger (int32)
pageSizequeryinteger (int32)

Response: paged list of

id*string (uuid)
hmoOrganizationId*string (uuid)
hmoOrganizationName*string
hmoPlanId*string (uuid)
hmoPlanName*string
customerUserId*string (uuid)
subscriptionNumber*string
customerType*string
status*string
startDate*string (date) (nullable)
endDate*string (date) (nullable)
premiumAmount*number (double)
currency*string
membershipCardNumber*string (nullable)
hmoMemberCode*string (nullable)
employerMemberNumber*string (nullable)
paymentIntentReference*string (nullable)
createdAt*string (date-time)
providerDataSharingConsentOutstandingboolean
employerOrganizationIdstring (uuid) (nullable)
employerNamestring (nullable)
renewedFromSubscriptionIdstring (uuid) (nullable)
renewedFromSubscriptionNumberstring (nullable)
renewedToSubscriptionIdstring (uuid) (nullable)
renewedToSubscriptionNumberstring (nullable)
hmoPlanVersionNumberinteger (int32) (nullable)
paidThroughDatestring (date) (nullable)
memberNamestring (nullable)
memberDateOfBirthstring (date) (nullable)
memberGenderstring (nullable)
dependentsCountinteger (int32) (nullable)
GET/api/v1/employer/hmo/summaryHealth cover at a glance (members, plans, spend)

Response

employees*integer (int32)
encounters*integer (int32)
totalBilled*number (double)
totalHmoPaid*number (double)
totalMemberShare*number (double)

Group policies

GET/api/v1/group-policiesList your group policies

Parameters

corporateOrganizationIdquerystring (uuid)

Response

id*string (uuid)
groupPolicyNumber*string
corporateOrganizationId*string (uuid)
corporateCustomerId*string (uuid)
insurerOrganizationId*string (uuid)
insurerName*string
productName*string
countryCode*string
premiumPerMember*number (double)
currency*string
coverageAmount*number (double)
coverageType*string
maxMembers*integer (int32)
activeMemberCount*integer (int32)
totalPremium*number (double)
startDate*string (date-time)
endDate*string (date-time)
status*string
createdAt*string (date-time)
membersGroupMemberResponse[]
allowedClaimTypesstring[]
GET/api/v1/group-policies/{id}Get one group policy

Parameters

id*pathstring (uuid)

Response

id*string (uuid)
groupPolicyNumber*string
corporateOrganizationId*string (uuid)
corporateCustomerId*string (uuid)
insurerOrganizationId*string (uuid)
insurerName*string
productName*string
countryCode*string
premiumPerMember*number (double)
currency*string
coverageAmount*number (double)
coverageType*string
maxMembers*integer (int32)
activeMemberCount*integer (int32)
totalPremium*number (double)
startDate*string (date-time)
endDate*string (date-time)
status*string
createdAt*string (date-time)
membersGroupMemberResponse[]
allowedClaimTypesstring[]
POST/api/v1/group-policies/{id}/cancelCancel a group policy

Parameters

id*pathstring (uuid)

Body (JSON)

reason*string

Response

id*string (uuid)
groupPolicyNumber*string
corporateOrganizationId*string (uuid)
corporateCustomerId*string (uuid)
insurerOrganizationId*string (uuid)
insurerName*string
productName*string
countryCode*string
premiumPerMember*number (double)
currency*string
coverageAmount*number (double)
coverageType*string
maxMembers*integer (int32)
activeMemberCount*integer (int32)
totalPremium*number (double)
startDate*string (date-time)
endDate*string (date-time)
status*string
createdAt*string (date-time)
membersGroupMemberResponse[]
allowedClaimTypesstring[]
POST/api/v1/group-policies/{id}/membersAdd a member to a group policy

Parameters

id*pathstring (uuid)

Body (JSON)

memberUserId*string (uuid)
memberEmail*string
firstName*string
lastName*string

Response

id*string (uuid)
memberUserId*string (uuid)
memberEmail*string
firstName*string
lastName*string
enrollmentDate*string (date-time)
terminationDate*string (date-time) (nullable)
status*string
DELETE/api/v1/group-policies/{id}/members/{memberId}Remove a member from a group policy

Parameters

id*pathstring (uuid)
memberId*pathstring (uuid)
POST/api/v1/group-policies/{id}/members/bulkAdd many members to a group policy

Parameters

id*pathstring (uuid)

Body (JSON)

memberUserId*string (uuid)
memberEmail*string
firstName*string
lastName*string

Response

enrolled*integer (int32)
skipped*integer (int32)
skippedEmails*string[]
GET/api/v1/group-policies/dashboardGroup cover at a glance

Parameters

corporateOrganizationIdquerystring (uuid)

Response

totalActivePolicies*integer (int32)
totalPolicyHistory*integer (int32)
totalClaimAmount*number (double)
totalClaimsSubmitted*integer (int32)
monthlyPremiumTotal*number (double)
currency*string
policyTypeBreakdown*PolicyTypeMetric[]

Claims and care

GET/api/v1/corporate/claimsList claims made under your group cover

Parameters

pagequeryinteger (int32)
pageSizequeryinteger (int32)
statusquerystring

Response: paged list of

claimId*string (uuid)
claimNumber*string
policyId*string (uuid)
policyNumber*string
customerId*string (uuid)
insurerOrganizationId*string (uuid)
countryCode*string
claimType*Death | Disability | Medical | PropertyDamage | TheftLoss | Accident | LiabilityThirdParty | Hospitalization | Surgery | CriticalIllness | Other
incidentDate*string (date-time)
description*string
claimAmount*number (double) (nullable)
currency*string
status*Submitted | UnderReview | Approved | Rejected | Appealed | Closed | Draft | PendingInsurerReview | AdditionalInformationRequired | ApprovedByInsurer | RejectedByInsurer | Settled | Cancelled
approvedAmount*number (double) (nullable)
rejectionReason*string (nullable)
appealReason*string (nullable)
reviewedAt*string (date-time) (nullable)
closedAt*string (date-time) (nullable)
createdAt*string (date-time)
policyRequestIdstring (uuid) (nullable)
policyReferencestring (nullable)
externalInsurerClaimReferencestring (nullable)
insurerNotesstring (nullable)
additionalInformationRequeststring (nullable)
additionalInformationResponsestring (nullable)
settledAtstring (date-time) (nullable)
cancelledAtstring (date-time) (nullable)
coverageSourceTypeIndividualPolicy | GroupPolicy
groupPolicyIdstring (uuid) (nullable)
filedByOrganizationIdstring (uuid) (nullable)
payoutsClaimPayoutRecord[]
policyholderNamestring (nullable)
riskScoreinteger (int32) (nullable)
riskBandNotAssessed | Low | Medium | High | Critical (nullable)
requiresEscalationboolean (nullable)
riskIndicatorsstring[]
riskAssessedAtstring (date-time) (nullable)
dependentIdstring (uuid) (nullable)
claimantUserIdstring (uuid) (nullable)
benefitCodestring (nullable)
coverageDecisionClaimCoverageDecisionSummary (nullable)
canEditDraftboolean
canCancelboolean
canAppealboolean
canRespondToInformationRequestboolean
POST/api/v1/corporate/claimsFile a claim for a covered member

Body (JSON)

groupPolicyId*string (uuid)
claimType*Death | Disability | Medical | PropertyDamage | TheftLoss | Accident | LiabilityThirdParty | Hospitalization | Surgery | CriticalIllness | Other
incidentDate*string (date-time)
description*string
claimAmount*number (double)
memberUserIdstring (uuid) (nullable)

Response

claimId*string (uuid)
claimNumber*string
policyId*string (uuid)
policyNumber*string
customerId*string (uuid)
insurerOrganizationId*string (uuid)
countryCode*string
claimType*Death | Disability | Medical | PropertyDamage | TheftLoss | Accident | LiabilityThirdParty | Hospitalization | Surgery | CriticalIllness | Other
incidentDate*string (date-time)
description*string
claimAmount*number (double) (nullable)
currency*string
status*Submitted | UnderReview | Approved | Rejected | Appealed | Closed | Draft | PendingInsurerReview | AdditionalInformationRequired | ApprovedByInsurer | RejectedByInsurer | Settled | Cancelled
approvedAmount*number (double) (nullable)
rejectionReason*string (nullable)
appealReason*string (nullable)
reviewedAt*string (date-time) (nullable)
closedAt*string (date-time) (nullable)
createdAt*string (date-time)
policyRequestIdstring (uuid) (nullable)
policyReferencestring (nullable)
externalInsurerClaimReferencestring (nullable)
insurerNotesstring (nullable)
additionalInformationRequeststring (nullable)
additionalInformationResponsestring (nullable)
settledAtstring (date-time) (nullable)
cancelledAtstring (date-time) (nullable)
coverageSourceTypeIndividualPolicy | GroupPolicy
groupPolicyIdstring (uuid) (nullable)
filedByOrganizationIdstring (uuid) (nullable)
payoutsClaimPayoutRecord[]
policyholderNamestring (nullable)
riskScoreinteger (int32) (nullable)
riskBandNotAssessed | Low | Medium | High | Critical (nullable)
requiresEscalationboolean (nullable)
riskIndicatorsstring[]
riskAssessedAtstring (date-time) (nullable)
dependentIdstring (uuid) (nullable)
claimantUserIdstring (uuid) (nullable)
benefitCodestring (nullable)
coverageDecisionClaimCoverageDecisionSummary (nullable)
canEditDraftboolean
canCancelboolean
canAppealboolean
canRespondToInformationRequestboolean
GET/api/v1/corporate/claims/summaryClaims totals by stage

Response

total*integer (int32)
pendingInsurerReview*integer (int32)
approvedByInsurer*integer (int32)
rejectedByInsurer*integer (int32)
settled*integer (int32)
totalClaimedAmount*number (double)
totalApprovedAmount*number (double)
totalSettledAmount*number (double)
distinctMembers*integer (int32)
GET/api/v1/employer/hmo/encountersList hospital visits under your health plans

Parameters

pagequeryinteger (int32)
pageSizequeryinteger (int32)

Response: paged list of

id*string (uuid)
hmoOrganizationId*string (uuid)
hmoOrganizationName*string
hmoSubscriptionId*string (uuid)
hmoSubscriptionName*string
customerId*string (uuid)
hospitalId*string (uuid)
hospitalName*string
hmoPreAuthorizationRequestId*string (uuid) (nullable)
claimNumber*string
serviceDate*string (date)
diagnosisDescription*string (nullable)Clinical (GB-13): null with clinicalRestricted for HMO staff without hmo:clinical:read.
diagnosisCode*string (nullable)Clinical (GB-13): null with clinicalRestricted for HMO staff without hmo:clinical:read.
totalAmount*number (double)
amountApproved*number (double) (nullable)
currency*string
status*string
reviewerNotes*string (nullable)
rejectionReason*string (nullable)
outOfNetworkReason*string (nullable)
cancellationReason*string (nullable)
approvedAmountAmendmentReason*string (nullable)
createdAt*string (date-time)
memberHmoEncounterMember (nullable)
hmoPayableAmountnumber (double) (nullable)What the HMO pays: the approved covered amount less the member's co-payment (H-D27). Null until adjudicated.
memberCopayAmountnumber (double) (nullable)The member's share: co-payment plus anything not covered.
adjudicatedCoveredAmountnumber (double) (nullable)The adjudication engine's covered amount (before co-pay). Approving or amending above it needs hmo:coverage:override.
paidOutsideWrapabooleanTrue when the HMO recorded the claim as paid outside WRAPA; the payout engine never pays it.
externalPaymentReferencestring (nullable)The outside-WRAPA payment reference, masked to its last four characters.
clinicalRestrictedbooleanTrue when clinical fields (diagnosis, ICD code, reviewer notes) were withheld because the caller lacks hmo:clinical:read (GB-13).
providerClaimReferencestring (nullable)The hospital's own number for the claim, unique per hospital. claimNumber is WRAPA's (decided 22 Oct 2026); older provider claims carry the hospital's number in both.
sourcestring (nullable)ProviderSubmitted (cashless) or MemberReimbursement.
isDisputedbooleanTrue while the claim is disputed (status Disputed).
disputeReasonstring (nullable)Why the claim was disputed; kept after the dispute is closed.
reviewedAtstring (date-time) (nullable)
paidAtstring (date-time) (nullable)
preAuthReferencestring (nullable)The reference of the pre-authorisation the claim draws on.
referralNumberstring (nullable)The number of the referral the claim was made under.
submittedByNamestring (nullable)Who filed the claim: a staff member's name, or the member's. HMO staff reads only.
reviewedByNamestring (nullable)Who approved or rejected the claim. HMO staff reads only; never another organisation's staff.
adjudicatedByNamestring (nullable)Who last ran adjudication on the claim. HMO staff reads only.
paidByNamestring (nullable)Who recorded the payment. HMO staff reads only.

Billing

GET/api/v1/employer/hmo/creditsList account credits

Parameters

outstandingOnlyqueryboolean

Response

id*string (uuid)
hmoSubscriptionId*string (uuid) (nullable)
amount*number (double)
amountApplied*number (double)
amountRemaining*number (double)
currency*string
status*string
reason*string
createdAt*string (date-time)
sourcestring
sourceInvoiceIdstring (uuid) (nullable)
referencestring (nullable)
GET/api/v1/employer/hmo/invoicesList health plan invoices

Parameters

statusquerystring
POST/api/v1/employer/hmo/invoicesGenerate an invoice for a billing period

Body (JSON)

periodYear*integer (int32)
periodMonth*integer (int32)
dueInDaysinteger (int32)
POST/api/v1/employer/hmo/invoices/{invoiceId}/payStart paying an invoice (returns a checkout link)

Parameters

invoiceId*pathstring (uuid)

Body (JSON)

providerCodestring
channelCodestring
callbackUrlstring (nullable)
GET/api/v1/organization/platform-billing/chargesList WRAPA subscription charges

Parameters

statusqueryOpen | Paid | Overdue | WrittenOff | Cancelled

Response

id*string (uuid)
chargeNumber*string
organizationId*string (uuid)
cycle*Monthly | Annual
periodStart*string (date)
periodEnd*string (date)
fullCycleAmount*number (double)
amount*number (double)
paidAmount*number (double)
currency*string
isProrated*boolean
daysCharged*integer (int32)
daysInPeriod*integer (int32)
status*Open | Paid | Overdue | WrittenOff | Cancelled
dueOn*string (date)
paidAt*string (date-time) (nullable)
notes*string (nullable)
PUT/api/v1/organization/platform-billing/cycleChange your WRAPA billing cycle

Body (JSON)

cycle*Monthly | Annual

Response

id*string (uuid)
organizationId*string (uuid)
cycle*Monthly | Annual
pendingCycle*Monthly | Annual (nullable)
status*Active | GracePeriod | Suspended | Cancelled
startedOn*string (date)
endedOn*string (date) (nullable)
nextPeriodStart*string (date)
graceEndsOn*string (date) (nullable)
suspensionReason*string (nullable)
suspendedAt*string (date-time) (nullable)
organizationNamestring (nullable)
organizationTypestring (nullable)
countryCodestring (nullable)
hasBandInForceboolean (nullable)
chargeCountinteger (int32) (nullable)
billingStateUpToDate | AwaitingSweep | NotBilledNoFeeBand | Ended (nullable)
unbilledSincestring (date) (nullable)
GET/api/v1/organization/platform-billing/subscriptionYour WRAPA subscription

Response

id*string (uuid)
organizationId*string (uuid)
cycle*Monthly | Annual
pendingCycle*Monthly | Annual (nullable)
status*Active | GracePeriod | Suspended | Cancelled
startedOn*string (date)
endedOn*string (date) (nullable)
nextPeriodStart*string (date)
graceEndsOn*string (date) (nullable)
suspensionReason*string (nullable)
suspendedAt*string (date-time) (nullable)
organizationNamestring (nullable)
organizationTypestring (nullable)
countryCodestring (nullable)
hasBandInForceboolean (nullable)
chargeCountinteger (int32) (nullable)
billingStateUpToDate | AwaitingSweep | NotBilledNoFeeBand | Ended (nullable)
unbilledSincestring (date) (nullable)

Reports

GET/api/v1/corporate/reports/claimsClaims report for a period

Parameters

Fromquerystring (date)
Toquerystring (date)

Response

period*ReportPeriod
groupClaimsFiled*integer (int32)
groupClaimsByStatus*KeyCount[]
groupClaimsByType*KeyCount[]
groupClaimed*CurrencyTotal[]
groupApproved*CurrencyTotal[]
groupSettled*CurrencyTotal[]
groupApprovalRatePercent*number (double) (nullable)
groupDecisionTime*Turnaround
employeesWhoClaimed*integer (int32)
hmoVisits*integer (int32)
hmoVisitsByStatus*KeyCount[]
hmoVisitsBySource*KeyCount[]
hmoCareBilled*CurrencyTotal[]
hmoCareCovered*CurrencyTotal[]
employeeShare*CurrencyTotal[]
employeesWhoUsedCare*integer (int32)
hospitalsUsed*HospitalVisitLine[]
reimbursementsAwaitingPayment*CurrencyTotal[]
GET/api/v1/corporate/reports/costsCosts report for a period

Parameters

Fromquerystring (date)
Toquerystring (date)

Response

period*ReportPeriod
groupPremiumRunRate*CurrencyTotal[]
hmoInvoiced*CurrencyTotal[]
hmoInvoiceTax*CurrencyTotal[]
hmoPaid*CurrencyTotal[]
hmoOutstanding*CurrencyTotal[]
hmoOverdue*CurrencyTotal[]
hmoOverdueByAge*KeyCount[]
hmoInvoicesByStatus*KeyCount[]
creditsAvailable*CurrencyTotal[]
hmoCostPerEmployee*CurrencyTotal[]
platformFeesCharged*CurrencyTotal[]
platformFeesOutstanding*CurrencyTotal[]
monthlyHmoInvoiced*MonthlyPoint[]
GET/api/v1/corporate/reports/costs/exportCosts report as CSV

Parameters

Fromquerystring (date)
Toquerystring (date)
GET/api/v1/corporate/reports/overviewOverview report for a period

Parameters

Fromquerystring (date)
Toquerystring (date)

Response

period*ReportPeriod
activeGroupPolicies*integer (int32)
groupMembersCovered*integer (int32)
groupPremiumRunRate*CurrencyTotal[]
employeesOnHmo*integer (int32)
hmoDependents*integer (int32)
livesCovered*integer (int32)
groupClaimsFiled*integer (int32)
groupClaimsApproved*CurrencyTotal[]
groupClaimsSettled*CurrencyTotal[]
hmoVisits*integer (int32)
hmoCareCovered*CurrencyTotal[]
hmoInvoicedInPeriod*CurrencyTotal[]
hmoInvoicesOutstanding*CurrencyTotal[]
hmoInvoicesOverdue*CurrencyTotal[]
platformFeesOutstanding*CurrencyTotal[]
GET/api/v1/corporate/reports/workforceWorkforce report for a period

Parameters

Fromquerystring (date)
Toquerystring (date)

Response

period*ReportPeriod
groupPolicies*GroupPolicyLine[]
groupEnrolments*integer (int32)
groupTerminations*integer (int32)
employeesOnHmo*integer (int32)
hmoMembershipsByStatus*KeyCount[]
hmoMembersByPlan*KeyCount[]
hmoEnrolments*integer (int32)
hmoExits*integer (int32)
monthly*MonthlyMembershipPoint[]