-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathenrollment.json
More file actions
4866 lines (4866 loc) · 223 KB
/
enrollment.json
File metadata and controls
4866 lines (4866 loc) · 223 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"components": {
"schemas": {
"AccessDeniedExceptionResponseContent": {
"description": "The server response for authorization failure.",
"properties": {
"code": {
"description": "Error classification code",
"type": "string"
},
"message": {
"description": "Human-readable error message",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"AggregationPreference": {
"description": "Preference for how the payer should group 835 Electronic Remittance Advice (ERA) transactions. Only set this property for 835 ERA enrollments.\n - If you include this property for a non-ERA enrollment, Stedi rejects the enrollment request with an HTTP `400` error.\n - If the payer doesn't support the requested aggregation type, Stedi rejects the enrollment request with an HTTP `400` error.\n - If not set, Stedi automatically selects a default based on the payer's supported aggregation types and the available identifiers for the provider.\n - Stedi will attempt to enroll with this preference, but it's not guaranteed. Each payer has its own restrictions and behaviors.",
"oneOf": [
{
"properties": {
"taxId": {
"description": "The Taxpayer Identification Number (TIN) the payer should use for aggregation.",
"pattern": "^\\d{9}$",
"type": "string"
}
},
"required": [
"taxId"
],
"title": "taxId",
"type": "object"
},
{
"properties": {
"npi": {
"description": "The National Provider Identifier (NPI) the payer should use for aggregation.",
"pattern": "^[0-9]{10}$",
"type": "string"
}
},
"required": [
"npi"
],
"title": "npi",
"type": "object"
}
]
},
"AllEnrolledProviderFields": {
"description": "Complete provider information including both read-only and mutable fields.",
"properties": {
"id": {
"description": "The Stedi-assigned identifier for the provider. The [Create Provider](https://www.stedi.com/docs/api-reference/healthcare/post-enrollment-create-provider) endpoint returns this as the `id` property.",
"type": "string"
},
"name": {
"description": "The provider's name, such as `Example Dental Associates, LLC`.",
"type": "string"
},
"npi": {
"description": "The provider's National Provider Identifier (NPI). This is a 10-digit number assigned by the Centers for Medicare & Medicaid Services (CMS) to healthcare providers in the United States. It is used to identify providers in healthcare transactions.",
"type": "string"
},
"taxId": {
"description": "The provider's tax identification number (SSN or EIN). This is used to identify the provider for tax and administrative purposes.",
"type": "string"
},
"taxIdType": {
"description": "The type of tax identification number. This indicates whether the tax ID is a Social Security Number (SSN) or Employer Identification Number (EIN).",
"type": "string"
}
},
"required": [
"id",
"name",
"npi",
"taxId",
"taxIdType"
],
"type": "object"
},
"CreateEnrollmentDocumentDownloadResponseContent": {
"description": "Response containing the document ID and pre-signed URL for download.",
"properties": {
"documentId": {
"description": "The document ID for the PDF document associated with the `downloadUrl`.",
"type": "string"
},
"downloadUrl": {
"description": "The pre-signed URL to download the document.",
"type": "string"
}
},
"required": [
"documentId",
"downloadUrl"
],
"type": "object"
},
"CreateEnrollmentDocumentUploadRequestContent": {
"description": "Input for CreateDocumentUpload.",
"properties": {
"name": {
"description": "The file name of the PDF document you want to upload. The name should include the file extension, such as `provider-license.pdf`. This name will be displayed in the Stedi portal.",
"type": "string"
},
"taskId": {
"description": "The ID for the task associated with this document upload.",
"type": "string"
}
},
"required": [
"name",
"taskId"
],
"type": "object"
},
"CreateEnrollmentDocumentUploadResponseContent": {
"description": "Response containing the enrollment ID, document ID, and pre-signed URL.",
"properties": {
"documentId": {
"description": "A unique identifier for the document record within Stedi.",
"type": "string"
},
"enrollmentId": {
"description": "The enrollment ID for the transaction enrollment request associated with the PDF document.",
"type": "string"
},
"uploadUrl": {
"description": "The pre-signed URL you can use to upload the PDF document. This URL expires after 24 hours.",
"type": "string"
}
},
"required": [
"documentId",
"enrollmentId",
"uploadUrl"
],
"type": "object"
},
"CreateEnrollmentRequestContent": {
"description": "Input for CreateEnrollment.",
"properties": {
"aggregationPreference": {
"$ref": "#/components/schemas/AggregationPreference",
"description": "Preference for how the payer should group 835 Electronic Remittance Advice (ERA) transactions. Only set this property for 835 ERA enrollments.\n - If you include this property for a non-ERA enrollment, Stedi rejects the enrollment request with an HTTP `400` error.\n - If the payer doesn't support the requested aggregation type, Stedi rejects the enrollment request with an HTTP `400` error.\n - If not set, Stedi automatically selects a default based on the payer's supported aggregation types and the available identifiers for the provider.\n - Stedi will attempt to enroll with this preference, but it's not guaranteed. Each payer has its own restrictions and behaviors."
},
"payer": {
"$ref": "#/components/schemas/EnrolledPayerInput",
"description": "Information about the payer the provider is enrolling with."
},
"primaryContact": {
"$ref": "#/components/schemas/ProviderContact",
"description": "The contact information for the provider. This is where the payer will send communications about the enrollment, if needed.\n - Either `organizationName` _or_ `firstName` and `lastName` are required.\n - The name and address should match exactly what the payer has on file for the provider. Some payers reject enrollment requests with addresses that don't match their records.\n - If you're submitting enrollment requests on a provider's behalf, you may want to set the phone number or email to your own contact details. Do this when you want the payer to contact you about the enrollment status instead of the provider directly.\n - This contact information doesn't need to match existing contacts defined on the provider record. It also doesn't modify or replace contacts on the provider record."
},
"provider": {
"$ref": "#/components/schemas/EnrolledProviderInput",
"description": "Information about the provider enrolling with the payer. You **must** use the [Create Provider](https://www.stedi.com/docs/api-reference/healthcare/post-enrollment-create-provider) endpoint to add the provider to Stedi before you can enroll them with one or more payers."
},
"providerTransactionAccessNumber": {
"description": "This property is required for payers that require a Provider Transaction Access Number (PTAN).\n\nThe PTAN is a Medicare-issued number given to providers upon enrollment with Medicare. This number is usually six digits and is assigned based on the type of service and the location of the provider. Upon enrollment, Medicare Administrating Contracting (MAC) providers should receive their assigned PTAN number in their approval letter.",
"maxLength": 10,
"minLength": 5,
"pattern": "^[a-zA-Z0-9]+$",
"type": "string"
},
"reason": {
"deprecated": true,
"description": "This shape is deprecated since 2025-10-07: Only Stedi can set or update this property, and it will be removed in a future release.",
"type": "string"
},
"requestedEffectiveDate": {
"description": "The requested effective date for the enrollment in YYYYMMDD format. This is the date you'd like the enrollment to take effect with the payer. For example, setting this to `20260601` for an 835 Electronic Remittance Advice (ERAs) enrollment means you want to start receiving ERAs through Stedi on that date.\n\nStedi processes enrollments accordingly, but can't guarantee that the enrollment will be effective on this exact date.\n - You can submit today's date or a future date up to 6 months from today.\n - If not set for draft enrollments, this property remains empty.\n - If not set for submitted enrollments, Stedi defaults to the enrollment's submission date.\n - If you include this property for a payer that doesn't support requested effective dates, Stedi rejects the request with an HTTP `400` error.",
"maxLength": 8,
"minLength": 8,
"pattern": "^\\d{8}$",
"type": "string"
},
"source": {
"$ref": "#/components/schemas/EnrollmentSource",
"deprecated": true,
"description": "This shape is deprecated since 2025-12-23: Stedi ignores this property for API requests, and it will be removed in a future release. The enrollment source is always set to `API`."
},
"status": {
"$ref": "#/components/schemas/InitialEnrollmentStatus",
"description": "The status of the enrollment. You can submit enrollments with either `DRAFT` or `STEDI_ACTION_REQUIRED` status. The default status is `DRAFT` if not specified. When you're ready for Stedi to begin processing the enrollment, set the status to `STEDI_ACTION_REQUIRED`. Once an enrollment is `STEDI_ACTION_REQUIRED`, only Stedi can set or update its status.\n - `DRAFT` - You're still editing the enrollment and haven't submitted it to Stedi.\n - `STEDI_ACTION_REQUIRED` - You have submitted the enrollment and it is ready for Stedi to begin processing.\n - `SUBMITTED` - (Deprecated) Legacy status being phased out in favor of the more specific action-required statuses. If you set an enrollment request to `SUBMITTED`, Stedi treats it as `STEDI_ACTION_REQUIRED`."
},
"transactions": {
"$ref": "#/components/schemas/EnrolledTransactionsList",
"description": "The type of transactions included in the enrollment."
},
"userEmail": {
"description": "The email address where Stedi should send updates about the enrollment. We'll use it to notify you when there are next steps and send updates on the enrollment's status.\n\nThis email address can be different from the `primaryContact.email` where the payer sends communications about the enrollment.",
"minLength": 5,
"pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$",
"type": "string"
}
},
"required": [
"payer",
"primaryContact",
"provider",
"transactions",
"userEmail"
],
"type": "object"
},
"CreateEnrollmentResponseContent": {
"description": "Output containing the created enrollment details.",
"properties": {
"aggregationPreference": {
"$ref": "#/components/schemas/AggregationPreference",
"description": "Preference for how the payer should group 835 Electronic Remittance Advice (ERA) transactions. This property is only returned for 835 ERA enrollments.\n - If not set, Stedi automatically selects a default based on the payer's supported aggregation types and the available identifiers for the provider.\n - Stedi attempts to enroll with this preference, but it's not guaranteed. Each payer has its own restrictions and behaviors.\n - This property isn't returned for enrollment records created before Stedi added support for aggregation preferences."
},
"createdAt": {
"description": "The date and time when the enrollment was created within Stedi.",
"format": "date-time",
"type": "string"
},
"documents": {
"description": "Documents associated with this enrollment, excluding deleted documents.",
"items": {
"$ref": "#/components/schemas/EnrollmentDocument"
},
"type": "array"
},
"history": {
"description": "The history of updates to this enrollment, such as status changes. This property is experimental and may change in the future.",
"items": {
"$ref": "#/components/schemas/EnrollmentHistoryEntry"
},
"type": "array"
},
"id": {
"description": "The Stedi-assigned identifier for the enrollment request.",
"type": "string"
},
"lastEraReceivedAt": {
"description": "The timestamp of the most recent 835 ERA (Electronic Remittance Advice) Stedi received for this enrollment, based on the enrollment's payer ID, provider NPI, and provider tax ID. Stedi automatically updates this property for each new ERA.\n - This property is only returned for ERA enrollments in `LIVE` status with at least one matching ERA from the payer.\n - If this timestamp doesn't match your expected timeline for ERA processing, there may be an upstream issue. Contact Stedi support for assistance.",
"format": "date-time",
"type": "string"
},
"payer": {
"$ref": "#/components/schemas/EnrolledPayerOutput",
"description": "Information about the payer the provider is enrolling with."
},
"primaryContact": {
"$ref": "#/components/schemas/ProviderContact",
"description": "The contact information for the provider. This is where the payer will send communications about the enrollment, if needed."
},
"provider": {
"$ref": "#/components/schemas/AllEnrolledProviderFields",
"description": "Information about the provider enrolling with the payer."
},
"providerTransactionAccessNumber": {
"description": "This property is required for payers that require a Provider Transaction Access Number (PTAN).\n\nThe PTAN is a Medicare-issued number given to providers upon enrollment with Medicare. This number is usually six digits and is assigned based on the type of service and the location of the provider. Upon enrollment, Medicare Administrating Contracting (MAC) providers should receive their assigned PTAN number in their approval letter.",
"maxLength": 10,
"minLength": 5,
"pattern": "^[a-zA-Z0-9]+$",
"type": "string"
},
"reason": {
"description": "Reasons why the enrollment request is still in `PROVISIONING` status, may take additional time to process, or was rejected by the payer. Only Stedi can set or update this property.",
"type": "string"
},
"requestedEffectiveDate": {
"description": "The requested effective date for the enrollment in YYYYMMDD format. This is the date the submitter would like the enrollment to take effect with the payer. If not provided during submission, Stedi defaults to the enrollment's submission date.\n\nNot all payers support requested effective dates. Stedi can't guarantee that the enrollment will be effective with the payer on this exact date.",
"maxLength": 8,
"minLength": 8,
"pattern": "^\\d{8}$",
"type": "string"
},
"source": {
"$ref": "#/components/schemas/EnrollmentSource",
"description": "The source of this enrollment."
},
"status": {
"$ref": "#/components/schemas/EnrollmentStatus",
"description": "The status of the enrollment. You can submit enrollments with either `DRAFT` or `STEDI_ACTION_REQUIRED` status. The default status is `DRAFT` if not specified. When you're ready for Stedi to begin processing the enrollment, set the status to `STEDI_ACTION_REQUIRED`. Once an enrollment is `STEDI_ACTION_REQUIRED`, only Stedi can set or update its status.\n - `DRAFT` - You're still editing the enrollment and haven't submitted it to Stedi.\n - `STEDI_ACTION_REQUIRED` - You have submitted the enrollment and it is ready for Stedi to begin processing.\n - `PROVIDER_ACTION_REQUIRED` - The enrollment requires action from the healthcare provider to proceed, such as providing additional documentation. Stedi will add a note to your enrollment request with clear instructions.\n - `SUBMITTED` - (Deprecated) Legacy status being phased out in favor of the more specific action-required statuses. If you set an enrollment request to `SUBMITTED`, Stedi treats it as `STEDI_ACTION_REQUIRED`.\n - `PROVISIONING` - Stedi has begun the process of completing the enrollment with the payer.\n - `LIVE` - The enrollment process is complete, and the specified provider can begin exchanging the listed transaction types with the payer.\n - `REJECTED` - The payer rejected the enrollment. Common reasons for rejection include incorrect details in the request and that the provider is not credentialed with the payer. Customer support will contact you with reasons for rejection and next steps.\n - `CANCELED` - The enrollment has been terminated per customer or provider request."
},
"statusLastUpdatedAt": {
"description": "The date and time when the enrollment status was last updated. This timestamp is used to track enrollment processing durations and enables filtering to identify recently changed enrollments. It automatically updates whenever an enrollment's status changes but remains unchanged during other updates.",
"format": "date-time",
"type": "string"
},
"submittedAt": {
"description": "The date and time when the enrollment was submitted. If the enrollment is in `DRAFT` status, `submittedAt` is not present. When the enrollment transitions from draft to `STEDI_ACTION_REQUIRED`, `submittedAt` is updated to the submission time. If the enrollment was created and submitted immediately, the `submittedAt` time will be equal or close to the `createdAt` time.",
"format": "date-time",
"type": "string"
},
"tasks": {
"description": "Tasks associated with this enrollment representing work that needs to be completed. Each task has a responsible party and specific definition.",
"items": {
"$ref": "#/components/schemas/Task"
},
"type": "array"
},
"transactions": {
"$ref": "#/components/schemas/EnrolledTransactionsList",
"description": "The type of transactions included in the enrollment."
},
"updatedAt": {
"description": "The date and time when the enrollment was updated.",
"format": "date-time",
"type": "string"
},
"userEmail": {
"description": "The email address where Stedi should send updates about the enrollment. We'll use it to notify you when there are next steps and send updates on the enrollment's status.\n\nThis email address can be different from the `primaryContact.email` where the payer sends communications about the enrollment.",
"minLength": 5,
"pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$",
"type": "string"
}
},
"required": [
"createdAt",
"id",
"payer",
"primaryContact",
"provider",
"statusLastUpdatedAt",
"transactions",
"updatedAt",
"userEmail"
],
"type": "object"
},
"CreateProviderRequestContent": {
"description": "Information about the provider you want to add to your account. The provider **must** have a unique NPI from other providers in your account.",
"properties": {
"contacts": {
"description": "The contact information for the provider. These contacts appear as prepopulated options for contact information when creating enrollment requests for this provider in the Stedi portal. They aren't automatically added to enrollment requests.\n\nThese contacts should specify where payers should send communications about the enrollment, if needed.\n - Either `organizationName` _or_ `firstName` and `lastName` are required.\n - The name and address should match exactly what the payer has on file for the provider. Some payers reject enrollment requests with addresses that don't match their records.\n - If you're submitting enrollment requests on a provider's behalf, you may want to set the phone number and email to your own contact details. Do this when you want the payer to contact you about the enrollment status instead of the provider directly.\n - These contacts are for convenience only. You can specify different contacts on enrollment requests as needed.",
"items": {
"$ref": "#/components/schemas/ProviderContact"
},
"type": "array"
},
"name": {
"description": "The provider's business name. This is typically the provider's practice name, such as `Dental Associates, LLC`, but it can also be the provider's first and last name.",
"minLength": 5,
"type": "string"
},
"npi": {
"description": "The provider's [National Provider Identifier (NPI)](https://npiregistry.cms.hhs.gov/search). This is a 10-digit number that is unique to the provider.\n\nEach provider record must have a unique `npi` and `taxId` combination. For example, you can create two provider records with the same `npi` as long as they have different values for `taxId`.",
"pattern": "^[0-9]{10}$",
"type": "string"
},
"taxId": {
"description": "The provider's tax ID, as specified by `taxIdType`. This identifier has to be provided without any separators, such as dashes or spaces. For example 111-22-3333 is invalid but `111223333` is valid.\n\nEach provider record must have a unique `npi` and `taxId` combination. For example, you can create two provider records with the same `taxId` as long as they have different values for `npi`.",
"pattern": "^\\d{9}$",
"type": "string"
},
"taxIdType": {
"$ref": "#/components/schemas/TaxIdType",
"description": "The type of tax ID. Can be either an `EIN` - Employer Identification Number, or an `SSN` - Social Security Number."
}
},
"required": [
"name",
"npi",
"taxId",
"taxIdType"
],
"type": "object"
},
"CreateProviderResponseContent": {
"description": "Output containing the created provider details.",
"properties": {
"contacts": {
"description": "The contact information for the provider. These contacts appear as prepopulated options for contact information when creating enrollment requests for this provider in the Stedi portal. They aren't automatically added to enrollment requests.\n\nThese contacts should specify where payers should send communications about the enrollment, if needed.",
"items": {
"$ref": "#/components/schemas/ProviderContact"
},
"type": "array"
},
"createdAt": {
"description": "The date and time Stedi created the provider record.",
"format": "date-time",
"type": "string"
},
"id": {
"description": "A unique identifier Stedi assigns to this provider.",
"type": "string"
},
"name": {
"description": "The provider's business name. This is typically the provider's practice name, such as `Dental Associates, LLC`, but it can also be the provider's first and last name.",
"minLength": 5,
"type": "string"
},
"npi": {
"description": "The provider's [National Provider Identifier (NPI)](https://npiregistry.cms.hhs.gov/search). This is a 10-digit number that is unique to the provider.\n\nEach provider record must have a unique `npi` and `taxId` combination. For example, you can create two provider records with the same `npi` as long as they have different values for `taxId`.",
"pattern": "^[0-9]{10}$",
"type": "string"
},
"taxId": {
"description": "The provider's tax ID, as specified by `taxIdType`. This identifier has to be provided without any separators, such as dashes or spaces. For example 111-22-3333 is invalid but `111223333` is valid.\n\nEach provider record must have a unique `npi` and `taxId` combination. For example, you can create two provider records with the same `taxId` as long as they have different values for `npi`.",
"pattern": "^\\d{9}$",
"type": "string"
},
"taxIdType": {
"$ref": "#/components/schemas/TaxIdType",
"description": "The type of tax ID. Can be either an `EIN` - Employer Identification Number, or an `SSN` - Social Security Number."
},
"updatedAt": {
"description": "The date and time Stedi last updated the provider record.",
"format": "date-time",
"type": "string"
}
},
"required": [
"id",
"name",
"npi"
],
"type": "object"
},
"DocumentStatus": {
"description": "Indicates whether the document file has been successfully uploaded to Stedi.",
"enum": [
"PENDING",
"UPLOADED",
"FAILED",
"DELETED"
],
"type": "string"
},
"EnrolledPayerInput": {
"description": "The payer you want to enroll with.",
"properties": {
"id": {
"deprecated": true,
"description": "Use `idOrAlias` instead. This property will be removed in the future.",
"type": "string"
},
"idOrAlias": {
"description": "The Payer ID. This can be the primary Payer ID, the Stedi Payer ID, or any listed aliases for the payer. Visit the [Payer Network](https://www.stedi.com/healthcare/network) for a complete list.",
"type": "string"
}
},
"type": "object"
},
"EnrolledPayerOutput": {
"description": "Output structure containing payer information in enrollment responses.",
"properties": {
"name": {
"description": "The payer's name, such as `Cigna` or `UnitedHealthcare`.",
"type": "string"
},
"stediPayerId": {
"description": "The unique Stedi assigned identifier for the payer.",
"type": "string"
},
"submittedPayerIdOrAlias": {
"description": "The payer ID or alias used when creating the enrollment request. For example, `62308` and `CIGNA` are both supported for Cigna. You can find a list of all supported payer IDs and aliases in the [Payer Network](https://www.stedi.com/healthcare/network).",
"type": "string"
}
},
"required": [
"stediPayerId"
],
"type": "object"
},
"EnrolledProviderInput": {
"description": "The provider you want to enroll with the payer. This must be an existing provider record within Stedi.",
"properties": {
"id": {
"description": "The Stedi-assigned identifier for the provider. The [Create Provider](https://www.stedi.com/docs/api-reference/healthcare/post-enrollment-create-provider) endpoint returns this as the `id` property.",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"EnrolledTransaction": {
"description": "Represents the enrollment status for a specific transaction type.",
"properties": {
"enroll": {
"type": "boolean"
}
},
"required": [
"enroll"
],
"type": "object"
},
"EnrolledTransactionsList": {
"description": "Specifies which transaction types are included in the enrollment.",
"oneOf": [
{
"properties": {
"eligibilityCheck": {
"$ref": "#/components/schemas/EnrolledTransaction",
"description": "Whether 270 eligibility checks are included in the enrollment."
}
},
"required": [
"eligibilityCheck"
],
"title": "eligibilityCheck",
"type": "object"
},
{
"properties": {
"claimStatus": {
"$ref": "#/components/schemas/EnrolledTransaction",
"description": "Whether 276 claim status requests are included in the enrollment."
}
},
"required": [
"claimStatus"
],
"title": "claimStatus",
"type": "object"
},
{
"properties": {
"professionalClaimSubmission": {
"$ref": "#/components/schemas/EnrolledTransaction",
"description": "Whether 837P professional claims are included in the enrollment."
}
},
"required": [
"professionalClaimSubmission"
],
"title": "professionalClaimSubmission",
"type": "object"
},
{
"properties": {
"institutionalClaimSubmission": {
"$ref": "#/components/schemas/EnrolledTransaction",
"description": "Whether 837I institutional claims are included in the enrollment."
}
},
"required": [
"institutionalClaimSubmission"
],
"title": "institutionalClaimSubmission",
"type": "object"
},
{
"properties": {
"dentalClaimSubmission": {
"$ref": "#/components/schemas/EnrolledTransaction",
"description": "Whether 837D dental claims are included in the enrollment."
}
},
"required": [
"dentalClaimSubmission"
],
"title": "dentalClaimSubmission",
"type": "object"
},
{
"properties": {
"claimPayment": {
"$ref": "#/components/schemas/EnrolledTransaction",
"description": "Whether 835 Electronic Remittance Advice (ERAs) are included in the enrollment."
}
},
"required": [
"claimPayment"
],
"title": "claimPayment",
"type": "object"
},
{
"properties": {
"solicitedClaimAttachment": {
"$ref": "#/components/schemas/EnrolledTransaction",
"description": "Whether solicited claim attachments are included in the enrollment."
}
},
"required": [
"solicitedClaimAttachment"
],
"title": "solicitedClaimAttachment",
"type": "object"
},
{
"properties": {
"unsolicitedClaimAttachment": {
"$ref": "#/components/schemas/EnrolledTransaction",
"description": "Whether unsolicited claim attachments are included in the enrollment."
}
},
"required": [
"unsolicitedClaimAttachment"
],
"title": "unsolicitedClaimAttachment",
"type": "object"
}
]
},
"EnrollmentDocument": {
"description": "A collection of metadata about an enrollment document, including its name, status, last updated date, and the associated enrollment Id.",
"properties": {
"contentType": {
"description": "The content type of the document.",
"type": "string"
},
"createdAt": {
"description": "The date and time when the document was created.",
"format": "date-time",
"type": "string"
},
"enrollmentId": {
"description": "The enrollment ID this document is associated with.",
"type": "string"
},
"id": {
"description": "The unique identifier for the document.",
"type": "string"
},
"name": {
"description": "The name of the document.",
"type": "string"
},
"size": {
"description": "The size of the document in bytes.",
"type": "number"
},
"status": {
"$ref": "#/components/schemas/DocumentStatus",
"description": "Indicates whether the document file has been successfully uploaded to Stedi."
},
"taskId": {
"description": "The task ID associated with this document, if it was created or processed as part of a task.",
"type": "string"
},
"updatedAt": {
"description": "The date and time when the document was last updated.",
"format": "date-time",
"type": "string"
}
},
"required": [
"createdAt",
"enrollmentId",
"id",
"name",
"status",
"updatedAt"
],
"type": "object"
},
"EnrollmentHistoryChangeType": {
"description": "The type of change recorded in the enrollment history.",
"enum": [
"STATUS_CHANGE"
],
"type": "string"
},
"EnrollmentHistoryEntry": {
"description": "An update to an enrollment, such as a change in the enrollment's status. This object is experimental and may change in the future.",
"properties": {
"changedAt": {
"description": "The date and time when this change occurred.",
"format": "date-time",
"type": "string"
},
"changedBy": {
"description": "The source or system that triggered this change.",
"type": "string"
},
"newStatus": {
"$ref": "#/components/schemas/EnrollmentStatus",
"description": "The status after this change occurred."
},
"previousStatus": {
"$ref": "#/components/schemas/EnrollmentStatus",
"description": "The status before this change occurred. This will be `UNDEFINED` for the enrollment's initial status after creation."
},
"type": {
"$ref": "#/components/schemas/EnrollmentHistoryChangeType",
"description": "The type of change that occurred."
}
},
"required": [
"changedAt",
"changedBy",
"newStatus",
"type"
],
"type": "object"
},
"EnrollmentSource": {
"description": "The source of the enrollment.",
"enum": [
"API",
"UI",
"IMPORT",
"AUTO_ENROLLMENT",
"AUTOMATED_TASK"
],
"type": "string"
},
"EnrollmentStatus": {
"description": "The status of the enrollment. You can submit enrollments with either `DRAFT` or `STEDI_ACTION_REQUIRED` status - the default is `DRAFT` if not included. Set this to `STEDI_ACTION_REQUIRED` when you're ready for Stedi to begin processing the enrollment. Once an enrollment is `STEDI_ACTION_REQUIRED`, only Stedi can set or update its status.",
"enum": [
"DRAFT",
"SUBMITTED",
"PROVISIONING",
"LIVE",
"REJECTED",
"CANCELED",
"STEDI_ACTION_REQUIRED",
"PROVIDER_ACTION_REQUIRED"
],
"type": "string"
},
"EnrollmentSummary": {
"description": "Summary of an enrollment with essential fields for list operations.",
"properties": {
"aggregationPreference": {
"$ref": "#/components/schemas/AggregationPreference",
"description": "Preference for how the payer should group 835 Electronic Remittance Advice (ERA) transactions. This property is only returned for 835 ERA enrollments.\n - If not set, Stedi automatically selects a default based on the payer's supported aggregation types and the available identifiers for the provider.\n - Stedi attempts to enroll with this preference, but it's not guaranteed. Each payer has its own restrictions and behaviors\n - This property isn't returned for enrollment records created before Stedi added support for aggregation preferences."
},
"createdAt": {
"description": "The date and time when the enrollment was created within Stedi.",
"format": "date-time",
"type": "string"
},
"documents": {
"description": "Documents associated with this enrollment, such as signed enrollment forms. This list doesn't include deleted documents.\n\nEach document object contains metadata such as the document's name, status, and timestamps for creation and last update.",
"items": {
"$ref": "#/components/schemas/EnrollmentDocument"
},
"type": "array"
},
"history": {
"description": "The history of updates to this enrollment, such as status changes. This property is experimental and may change in the future.",
"items": {
"$ref": "#/components/schemas/EnrollmentHistoryEntry"
},
"type": "array"
},
"id": {
"description": "The Stedi-assigned identifier for the enrollment.",
"type": "string"
},
"importId": {
"description": "The import ID associated with the enrollment if it was created through a CSV bulk import (`source` is set to `IMPORT`). This property is only present for enrollments created through the CSV import process.",
"type": "string"
},
"lastEraReceivedAt": {
"description": "The timestamp of the most recent 835 ERA (Electronic Remittance Advice) Stedi received for this enrollment, based on the enrollment's payer ID, provider NPI, and provider tax ID. Stedi automatically updates this property for each new ERA.\n - This property is only returned for ERA enrollments in `LIVE` status with at least one matching ERA from the payer.\n - If this timestamp doesn't match your expected timeline for ERA processing, there may be an upstream issue. Contact Stedi support for assistance.",
"format": "date-time",
"type": "string"
},
"payer": {
"$ref": "#/components/schemas/EnrolledPayerOutput",
"description": "Information about the payer the provider is enrolling with."
},
"provider": {
"$ref": "#/components/schemas/AllEnrolledProviderFields",
"description": "Information about the provider enrolling with the payer."
},
"reason": {
"description": "Reasons why the enrollment request is still in `PROVISIONING` status, may take additional time to process, or was rejected by the payer. Only Stedi can set or update this property.",
"type": "string"
},
"requestedEffectiveDate": {
"description": "The requested effective date for the enrollment in YYYYMMDD format. This is the date the submitter would like the enrollment to take effect with the payer. If not provided during submission, Stedi defaults to the enrollment's submission date.\n\nNot all payers support requested effective dates. Stedi can't guarantee that the enrollment will be effective with the payer on this exact date.",
"maxLength": 8,
"minLength": 8,
"pattern": "^\\d{8}$",
"type": "string"
},
"source": {
"$ref": "#/components/schemas/EnrollmentSource",
"description": "The source of the enrollment."
},
"status": {
"$ref": "#/components/schemas/EnrollmentStatus",
"description": "The status of the enrollment.\n - `DRAFT` - You are still editing the record and it has not been submitted to Stedi.\n - `STEDI_ACTION_REQUIRED` - You have submitted the enrollment and it is ready for Stedi to begin processing.\n - `PROVIDER_ACTION_REQUIRED` - The enrollment requires action from the healthcare provider to proceed, such as providing additional documentation. Stedi will add a note to your enrollment request with clear instructions.\n - `SUBMITTED` - (Deprecated) Legacy status being phased out in favor of the more specific action-required statuses.\n - `PROVISIONING` - Stedi has begun the process of completing the enrollment with the payer.\n - `LIVE` - The enrollment process is complete, and the specified provider can begin exchanging the listed transaction types with the payer.\n - `REJECTED` - The payer rejected the enrollment. Common reasons for rejection include incorrect details in the request and that the provider is not credentialed with the payer. Customer support will contact you with reasons for rejection and next steps.\n - `CANCELED` - The enrollment has been terminated per customer or provider request."
},
"statusLastUpdatedAt": {
"description": "The date and time when the enrollment status was last updated. This timestamp is used to track enrollment processing durations and enables filtering to identify recently changed enrollments. It automatically updates whenever an enrollment's status changes but remains unchanged during other updates.",
"format": "date-time",
"type": "string"
},
"submittedAt": {
"description": "The date and time when the enrollment was submitted. If the enrollment is in draft status, `submittedAt` is not present. When the enrollment transitions from draft to submitted, `submittedAt` will be updated to the submission time. If the enrollment was created and submitted immediately, `submittedAt` will be equal or close to `createdAt`.",
"format": "date-time",
"type": "string"
},
"tasks": {
"description": "Tasks associated with this enrollment, such as reminders or follow-ups.",
"items": {
"$ref": "#/components/schemas/Task"
},
"type": "array"
},
"transactions": {
"$ref": "#/components/schemas/EnrolledTransactionsList",
"description": "The type of transactions included in the enrollment."
},
"updatedAt": {
"description": "The date and time when the enrollment was updated.",
"format": "date-time",
"type": "string"
}
},
"required": [
"createdAt",
"id",
"payer",
"provider",
"source",
"status",
"statusLastUpdatedAt",
"transactions",
"updatedAt"
],
"type": "object"
},
"ExportEnrollmentsCsvRequestContent": {
"description": "Input for ExportEnrollmentsCsv operation. Supports the same filtering options as ListEnrollments (excluding pagination).",
"properties": {
"createdFrom": {
"description": "Filter for enrollments created from a specific date.\n\nFor example, if you set this to `2025-01-01T00:00:00Z`, Stedi returns enrollments with a `createdAt` timestamp on or after this date.",
"format": "date-time",
"type": "string"
},
"createdTo": {
"description": "Filter for enrollments created before a specific date.\n\nFor example, if you set this to `2025-01-01T00:00:00Z`, Stedi only returns enrollments with a `createdAt` timestamp before this date.\n\nThe time must be later than `createdFrom`, if present.",
"format": "date-time",
"type": "string"
},
"filter": {
"description": "Filter for enrollments with properties matching a query string. You can provide all or part of a provider name, NPI, or tax ID. You can also provide all or part of a payer's [Stedi payer ID](https://www.stedi.com/docs/healthcare/supported-payers#stedi-payer-id) - primary payer IDs and aliases aren't supported. The search is case-insensitive and supports fuzzy matching.\n\nFor example, providing `?filter=OS` returns enrollments with `provider.name` containing `os` or `OS` (such as `Joseph`) and Stedi payer IDs containing `OS`, such as `OSBLI` for OptumHealth Salt Lake County.",
"type": "string"
},
"importId": {
"description": "The import ID associated with an enrollment through a CSV bulk import. This ID is only available for enrollments created through the CSV import process.",
"type": "string"
},
"lastEraReceivedFrom": {
"description": "Filter for enrollments with a `lastEraReceivedAt` timestamp on or after this value. Only enrollments with an ERA are included.\n\nYou can use this filter with `lastEraReceivedTo` to define a date range. For example, setting this to `2025-01-01T00:00:00Z` returns enrollments with a `lastEraReceivedAt` on or after that date.",
"format": "date-time",
"type": "string"
},
"lastEraReceivedTo": {
"description": "Filter for enrollments with a `lastEraReceivedAt` timestamp on or before this value. Only enrollments with an ERA are included. This value must be later than `lastEraReceivedFrom`, if present.\n\nFor example, setting this to `2025-01-01T00:00:00Z` returns enrollments with a `lastEraReceivedAt` on or before that date.",
"format": "date-time",
"type": "string"
},
"payerIds": {
"description": "Filter for enrollments associated with specific [Stedi payer IDs](https://www.stedi.com/docs/healthcare/supported-payers#stedi-payer-id). You can include this parameter multiple times to filter for multiple payer IDs.\n\nFor example, `?payerIds=HGJLR&payerIds=EWDCI` returns enrollments associated with either of the specified payer IDs.\n\nThis parameter only supports Stedi payer IDs, not primary payer IDs or aliases. It also doesn't support fuzzy matching. The payer ID you provide must match the Stedi payer ID exactly, including capitalization.",
"items": {
"type": "string"
},
"type": "array"
},
"providerNames": {
"description": "Filter for enrollments associated with specific provider names. You can include this parameter multiple times to filter for multiple names.\n\nFor example, `?providerNames=John%20Doe&providerNames=Jane%20Doe` returns enrollments associated with either John Doe or Jane Doe.\n\nThis search is case-sensitive and doesn't support fuzzy matching. The name you provide must match the provider's name exactly, including spaces and capitalization.",
"items": {
"type": "string"
},
"type": "array"
},
"providerNpis": {
"description": "Filter for enrollments associated with specific provider NPIs. You can include this parameter multiple times to filter for multiple NPIs.\n\nFor example, `?providerNpis=1234567890&providerNpis=0987654321` returns enrollments associated with either of the specified NPIs.",
"items": {
"type": "string"
},
"type": "array"
},
"providerTaxIds": {
"description": "Filter for enrollments associated with specific provider tax IDs. You can include this parameter multiple times to filter for multiple tax IDs.\n\nFor example, `?providerTaxIds=123456789&providerTaxIds=987654321` returns enrollments associated with either of the specified tax IDs.",
"items": {
"type": "string"
},
"type": "array"
},
"requestedEffectiveDateFrom": {
"description": "Filter for enrollments with a requested effective date on or after this date, in YYYYMMDD format.\n\nFor example, `?requestedEffectiveDateFrom=20260101` returns enrollments with a `requestedEffectiveDate` of `20260101` or later.",
"maxLength": 8,
"minLength": 8,
"pattern": "^\\d{8}$",
"type": "string"
},
"requestedEffectiveDateTo": {
"description": "Filter for enrollments with a requested effective date on or before this date, in YYYYMMDD format.\n\nFor example, `?requestedEffectiveDateTo=20261231` returns enrollments with a `requestedEffectiveDate` of `20261231` or earlier.\n\nThe date must be the same as or later than `requestedEffectiveDateFrom`, if present.",
"maxLength": 8,
"minLength": 8,
"pattern": "^\\d{8}$",
"type": "string"
},
"sources": {
"description": "Filter for enrollments submitted through specific sources, such as the API or UI. You can include this parameter multiple times to filter for multiple sources.\n\nFor example, `?sources=API&sources=UI` returns enrollments submitted through either of the specified sources.",
"items": {
"$ref": "#/components/schemas/EnrollmentSource"
},
"type": "array"
},
"status": {
"description": "Filter for enrollments with specific statuses. You can include this parameter multiple times to filter for multiple statuses.\n\nFor example, `?status=LIVE&status=REJECTED` returns enrollments that are in either `LIVE` or `REJECTED` status.",
"items": {
"$ref": "#/components/schemas/EnrollmentStatus"
},
"type": "array"
},
"statusUpdatedFrom": {
"description": "Filter for enrollments whose status was last updated from a specific date.\n\nFor example, if you set this to `2025-01-01T00:00:00Z`, Stedi returns enrollments with a `statusLastUpdatedAt` timestamp on or after this date.",
"format": "date-time",
"type": "string"
},
"statusUpdatedTo": {
"description": "Filter for enrollments whose status was last updated before a specific date.\n\nFor example, if you set this to `2025-01-01T00:00:00Z`, Stedi only returns enrollments with a `statusLastUpdatedAt` before this date.\n\nThe time must be later than `statusUpdatedFrom`, if present.",
"format": "date-time",
"type": "string"
},
"transactions": {
"description": "Filter for enrollments for specific transaction types. You can include this parameter multiple times to filter for multiple types.\n\nFor example, `?transactions=eligibilityCheck&transactions=claimStatus` returns enrollments for both 270/271 eligibility checks and 276/277 real-time claim status.",
"items": {
"$ref": "#/components/schemas/TransactionType"
},
"type": "array"
}
},
"type": "object"
},
"ExportEnrollmentsCsvResponseContent": {
"description": "Output containing export results. If no enrollments found, downloadUrl and filename will be undefined and recordCount will be 0.",
"properties": {
"downloadUrl": {
"description": "A presigned URL for downloading the generated CSV file from S3. Undefined if no enrollments found.",
"type": "string"
},
"filename": {
"description": "The filename of the generated CSV file. Undefined if no enrollments found.",
"type": "string"
},
"recordCount": {
"description": "The number of enrollment records exported to the CSV file. 0 if no enrollments found.",
"type": "number"
}
},
"required": [
"recordCount"
],
"type": "object"
},
"FollowInstructionsTask": {
"description": "Follow-instructions task data containing text instructions for a user to follow.",
"properties": {
"instructions": {
"description": "Human-readable instructions for the responsible party to follow.",
"minLength": 1,
"type": "string"
}
},
"required": [
"instructions"
],
"type": "object"
},
"GatewayTimeoutExceptionResponseContent": {
"description": "The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.",
"properties": {
"code": {
"description": "Error classification code",
"type": "string"
},
"message": {
"description": "Human-readable error message",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"GetEnrollmentResponseContent": {
"description": "Output containing the enrollment details.",
"properties": {
"aggregationPreference": {
"$ref": "#/components/schemas/AggregationPreference",
"description": "Preference for how the payer should group 835 Electronic Remittance Advice (ERA) transactions. This property is only returned for 835 ERA enrollments.\n - If not set, Stedi automatically selects a default based on the payer's supported aggregation types and the available identifiers for the provider.\n - Stedi attempts to enroll with this preference, but it's not guaranteed. Each payer has its own restrictions and behaviors.\n - This property isn't returned for enrollment records created before Stedi added support for aggregation preferences."
},
"createdAt": {
"description": "The date and time when the enrollment was created within Stedi.",
"format": "date-time",
"type": "string"
},
"documents": {
"description": "Documents associated with this enrollment, such as signed enrollment forms. This list doesn't include deleted documents.\n\nEach document object contains metadata such as the document's name, status, and timestamps for creation and last update.",
"items": {
"$ref": "#/components/schemas/EnrollmentDocument"
},
"type": "array"