DasLab documentation
  • What is DasLab?
  • DasLab Integrations
  • DasLab for developers
  • Webhook events
  • REST API
    • Locations
    • Products
    • Appointments
    • Patients
    • Transactions
    • Samples/Results
  • HL7 for labs
  • Docspring
  • Security center / updates
  • Developer Support
  • DasLab Guides
    • DasLab for partners
    • Set-up instructions
      • Setting up a provider/app
      • Setting up as a client
        • Software setup
        • Features descriptions
        • Training for clients
      • Setting up as a lab
        • Software setup
        • Features descriptions
        • Training for labs
      • Setting up a vaccination location
      • Training for vaccination
        • Setting up as a doctor / sampling location
          • Software setup
          • Features list
          • Training for samplers
    • Downloading a report of appointments and results
    • Trainings for partners
  • Ordering a test
Powered by GitBook
On this page

Was this helpful?

  1. REST API

Transactions

Transactions are required for an appointment to be valid

Create a transaction

POST https://api.daslab.app/transactions

An appointment needs a transaction in order to be valid. Appointments that do not have a transaction within 15 minutes are dropped. Transactions cannot be removed or updated but a refund transaction can be made.

Headers

Name
Type
Description

x-api-key

string

Request Body

Name
Type
Description

code

string

If 'code' method the code like MYSPECIALCODE1

method

string

Can be 'code', 'cash' or 'stripe'

appointmendId

number

The appointmentId this transaction applies to

PreviousPatientsNextSamples/Results

Last updated 3 years ago

Was this helpful?