class

Manza::Resources::CheckoutSessions

Inherits Manza::Resources::Base < Reference < Object

One-off hosted checkout sessions. No list, update, or delete; sessions are created and inspected by id. Status is one of open, processing, clearing, complete, expired. Responses carry settled_at and the paying transaction.

Instance methods

create

POST /api/checkout_sessions

Required attributes: account_id, amount, success_url. Optional: metadata, customer_email, customer_name, cancel_url, description, expires_at, collect_billing_address, billing_address.

Source
get(id : String) : Response

GET /api/checkout_sessions/:id

Source