SavvyCal API
Endpoints
Resources
Webhooks
SavvyCal API
Home Help

Payment

A representation of payment information for an event.

Properties

This resource includes the following properties:

Property Type Description
state string The payment status (either awaiting_checkout or paid).
url string | null The URL for the payment.
amount_total integer | null The total amount charged (in cents).
amount_tax integer | null The total amount of tax (in cents).
amount_discount integer | null The total amount of discounts (in cents).
amount_shipping integer | null The total amount of shipping (in cents).

Example

Here is an example representation of this resource:

{
"state": "paid",
"url": "https://dashboard.stripe.com/acct_XXXXXX/payments/pi_XXXXXX",
"amount_total": 50000,
"amount_subtotal": 45000,
"amount_discount": 0,
"amount_tax": 5000,
"amount_shipping": 0
}

Changelog

February 14, 2023

  • Added amount_subtotal, amount_tax, amount_discount, and amount_shipping properties. For payments made prior to February 14, these fields will be null.