Skip to main content
POST
Setup Payin Component

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json
paymentMedium
enum<string>
required

Payment medium types supported by the system.

These fall into two categories:

  1. Payment Processor Mediums: Require Rainforest/Stripe payin (card processing)
  2. External Settlement Mediums: Settled outside the system (cash, check, etc.)
Available options:
POS,
VIRTUAL_TERMINAL,
PAYMENT_LINK,
PAYMENT_PLAN,
SUBSCRIPTION,
SAVED_PAYMENT_METHOD,
MEMBERSHIP,
CASH,
CHECK,
CARE_CREDIT,
PATIENT_CREDIT
charges
ChargeSummary · object[]
required
paymentAmount
integer | null
savePaymentMethod
boolean
default:false
textReceipt
boolean
default:false
paymentPlan
PaymentPlanCreateWithoutID · object | null

Represents the creation of a payment plan without an ID.

This model defines the structure for creating a new payment plan, including details about the initial payment, associated charge, frequency of payments, number of installments, and the amount for each installment.

isSurcharged
boolean
default:false
locationId
string | null
creatorId
string | null
membershipId
string | null
membershipStartDate
string<date-time> | null
soldByProviderId
string | null
merchantAccountId
string | null

Response

Successful Response

sessionKey
string
required
payinConfigId
string
required
sandbox
boolean
required
paymentMethods
PaymentMethodSummary · object[]