Create external payment for appointment
Record an external settlement for an appointment, such as cash or Venmo.
Headers
Path Parameters
The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.
The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.
Body
Request body for creating an external payment.
The full amount recorded for the external payment, including any tip.
^-?(0|[1-9][0-9]*)\.[0-9][0-9]$"456.78"
The ISO 4217 currency code for this payment's monetary values.
3"USD"
The tip included in amount. This value cannot exceed amount.
^-?(0|[1-9][0-9]*)\.[0-9][0-9]$"456.78"
Optional external payment token or reference (e.g., Venmo transaction ID).
255Optional notes about the external payment.
500Response
Created.
Represents a payment associated with an appointment.
Unique identifier for the payment.
The method used to process this payment.
platform, external The direction of the payment flow.
payment, refund The payment state.
pending, processing, authorized, paid, failed The amount of this payment.
^-?(0|[1-9][0-9]*)\.[0-9][0-9]$"456.78"
The Guile fee charged with this payment.
^-?(0|[1-9][0-9]*)\.[0-9][0-9]$"456.78"
The appointment obligation this payment addresses, when known.
authorization, deposit, balance When a saved-card authorization hold is scheduled to be placed for this payment.
The authorization failure reason when a hold attempt fails.
declined, cardUnusable, processingError, other The provider decline code returned by the payment processor, when one is available.
The card network advice code returned by the payment processor, when one is available.
The ISO 4217 currency code for this payment's monetary values.
3"USD"
The tip included in the payable total, when one has been selected.
^-?(0|[1-9][0-9]*)\.[0-9][0-9]$"456.78"
The off-hours fee included in this payment, when the payment settles that preserved booking component.
^-?(0|[1-9][0-9]*)\.[0-9][0-9]$"456.78"
The full amount due for the appointment, including the selected tip.
^-?(0|[1-9][0-9]*)\.[0-9][0-9]$"456.78"
A payment issue requiring follow-up.
authorizationRepairFailed For external payments, the token representing the payment.
External identifier for the payment from the payment processor or external system.
The card charged for this payment, when Guile recorded the network and last four digits from the payment processor. Omitted for cash or external payments, and when Guile never recorded a card for the charge.
For refund payments, the original payment being refunded.
For refund payments, the reason for the refund.
500