Daybook DocsDaybook Docs
Browse

Submit an enrollment

POST/v1/enrollments

Enroll a provider with a payer for electronic remits (ERA), electronic payments (EFT), or both.

Used in ERA and EFT enrollment1 use case

Call this with AIA brief with this endpoint's request, response and auth, ready for a typed client in your language.

Body

  • payerstringrequired
    Daybook payer id.
  • transactionsstring[]required
    era, eft or both.
  • providerobjectrequired
    The provider to enroll.
    Properties
    • npistringrequired
    • tax_idstringrequired
    • namestringrequired
      Legal name as the payer has it.
  • bank_accountobject
    Required for eft.
    Properties
    • routing_numberstringrequired
    • account_numberstringrequired
    • account_typestringrequired
      checking or savings.
  • contactobjectrequired
    Who the payer contacts about the enrollment.
    Properties
    • namestringrequired
    • emailstringrequired
    • phonestring
  • metadataobject
    Your keys, echoed back.
Try itEdit the fields and copy the request. Nothing is sent from this page.
curl -X POST https://api.daybookhealthcare.com/v1/enrollments \
  -H "Authorization: Bearer $DAYBOOK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "payer": "meridian",
    "transactions": [
      "era",
      "eft"
    ],
    "provider": {
      "npi": "1999999984",
      "tax_id": "00-0000000",
      "name": "Sample Family Dental"
    },
    "bank_account": {
      "routing_number": "000000000",
      "account_number": "000000000000",
      "account_type": "checking"
    },
    "contact": {
      "name": "Alex Biller",
      "email": "billing@example.com"
    }
  }'

Response

  • idstring
    Unique id, prefixed enr_.
  • objectstring
    Always enrollment.
  • statusstring
    submitted, pending_payer, action_required, approved or rejected.
  • payerstring
    Daybook payer id.
  • transactionsstring[]
    era, eft or both.
  • providerobject
    The enrolled provider.
  • action_requiredobject
    What the payer is waiting on. Present while action_required.
    Properties
    • typestring
      signature, document, verification_letter or contact.
    • descriptionstring
      What the payer asked for, in plain words.
    • due_bystring
      The payer's deadline, when it gave one.
  • approved_atstring
    When the payer confirmed the enrollment.
  • metadataobject
    Your keys, echoed back.
  • created_atstring
    RFC 3339 timestamp.
curl -X POST https://api.daybookhealthcare.com/v1/enrollments \
  -H "Authorization: Bearer $DAYBOOK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "payer": "meridian",
    "transactions": [
      "era",
      "eft"
    ],
    "provider": {
      "npi": "1999999984",
      "tax_id": "00-0000000",
      "name": "Sample Family Dental"
    },
    "bank_account": {
      "routing_number": "000000000",
      "account_number": "000000000000",
      "account_type": "checking"
    },
    "contact": {
      "name": "Alex Biller",
      "email": "billing@example.com"
    }
  }'
Response 200
{
  "id": "enr_01JBXC7F2D9R",
  "object": "enrollment",
  "status": "submitted",
  "payer": "meridian",
  "transactions": [
    "era",
    "eft"
  ],
  "provider": {
    "npi": "1999999984",
    "tax_id": "00-0000000",
    "name": "Sample Family Dental"
  },
  "action_required": null,
  "approved_at": null,
  "metadata": {},
  "created_at": "2026-10-20T13:00:00Z"
}