Skip to main content
POST
/
admin
/
payments
/
{id}
/
complete
결제 수동 확인 (pending → completed)
curl --request POST \
  --url https://api.headlesscommerce.io/v1/admin/payments/{id}/complete \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "order_id": "<string>",
  "provider": "<string>",
  "provider_id": "<string>",
  "amount": {
    "amount": 123,
    "currency": "<string>"
  },
  "status": "pending",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API Key. 예: sk_live_xxxxx 또는 pk_live_xxxxx

Path Parameters

id
string
required

리소스 ID

Response

200 - application/json

Success

id
string
order_id
string
provider
string
provider_id
string
amount
object
status
enum<string>
Available options:
pending,
completed,
failed,
cancelled,
refunded
created_at
string<date-time>