Skip to main content
POST
결제 (장바구니 → 주문 + 결제)

인증

Authorization
string
header
필수

API Key. Example: sk_live_xxxxx or pk_live_xxxxx

경로 매개변수

id
string
필수

Resource ID

본문

application/json
email
string<email>

Buyer email. Required for Guest Checkout (no customer_id). For logged-in customers, the customer email is used if omitted.

payment_provider
string

'stripe' or 'manual'

payment_method_id
string

Stripe 결제 수단 ID

응답

생성됨

id
string
number
integer
status
enum<string>
사용 가능한 옵션:
draft,
pending,
confirmed,
processing,
completed,
cancelled
payment_status
enum<string>
사용 가능한 옵션:
unpaid,
partially_paid,
paid,
partially_refunded,
refunded
fulfillment_status
enum<string>
사용 가능한 옵션:
unfulfilled,
partially_fulfilled,
fulfilled,
returned
customer_id
string | null
email
string
shipping_address
object
billing_address
object
lines
object[]
subtotal
object
discount_total
object
shipping_total
object
tax_total
object
total
object
refunded_total
object
applied_discounts
object[]
shipping_method_name
string
note
string
payments
object[]
fulfillments
object[]
refunds
object[]
metadata
object
created_at
string<date-time>
cancelled_at
string<date-time> | null
completed_at
string<date-time> | null