Create Payment

Headers

X-API-KeystringRequired
X-Request-IDstringOptional

Request

This endpoint expects an object.
serviceIdstringRequired
paidAtdatetimeRequired
transactionIdstringRequired

Unique transaction ID associated with this payment, this must be unique. Use for deduplication, a 409 will be returned if trying to create another Payment with same transactionId.

typeenumRequired

Denotes the type of Payment being registered, use PATIENT for any actual transaction being collected or refunded. Reserve ADJUSTMENT for manual/operational adjustments to balances, error corrections etc..

Allowed values:
amountintegerRequired
Payment amount, in USD cents. Positive values are payments paid by the Patient, negative values are refunds given back to the Patient.
externalIdstringOptional
Associate with any External ID value, should also be unique
memostringOptional

Response

This endpoint returns an object.
idstring
createdAtdatetime
serviceIdstring
paidAtdatetime
transactionIdstring
typeenum
Allowed values:
amountinteger
externalIdstring or null
memostring or null