Skip to main content
POST
Take a sale

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Body

application/json
tender
enum<string>
required
Available options:
card,
cash,
check
lines
object[]
Required array length: 1 - 50 elements
customer_name
string
Maximum string length: 120
customer_email
string
Maximum string length: 254
customer_phone
string
Maximum string length: 40
person_id
string
check_number
string
Maximum string length: 40
note
string
Maximum string length: 500
clinic_appointment_id
string

A done clinic appointment, paid for its own services at the prices booked: send no lines. The appointment keeps the sale; one with an open or paid sale is 409.

Response

The sale.

sale
object
pay_url
string | null

For a card: the Stripe page to pay on. Null for cash and check.