Skip to main content
POST
환불 생성

인증

Authorization
string
header
필수

API Key. Example: sk_live_xxxxx or pk_live_xxxxx

경로 매개변수

id
string
필수

Resource ID

본문

application/json
reason
string
필수
amount
integer

When specifying amount directly (when lines are not provided)

restock
boolean
기본값:true
lines
object[]

Specify items/quantities for partial refund

응답

201 - application/json

생성됨

id
string
order_id
string
amount
object
reason
string
restock
boolean
status
enum<string>
사용 가능한 옵션:
pending,
completed,
failed
lines
object[]
created_at
string<date-time>