Developers
V1
V2

Update order status API

Updates the status of a PAYCO order.

POST https://api.iamport.kr/payco/orders/status/{imp_uid}

Updates the status of a PAYCO order.

Parameters

Path

imp_uid*
String

i’mport transaction ID

Body

status*
String
Status code

DELIVERY_START

PURCHASE_DECISION

CANCELED

Responses

200: OK
Success

code * integer

Response code

0: success, Not 0: check the message

message * string

Response message

A non-zero code includes a message like ‘Invalid payment info’.

response (PaycoStatusAnnotation, optional)

status * string

PAYCO updated order status

[‘DELIVERY_START’, ‘PURCHASE_DECISION’, ‘CANCELED’]

401: Unauthorized
Missing or invalid token
{
  // Response
}

Response Model Schema

{
  "code": 0,
  "message": "string",
  "response": {
    "status": "DELIVERY_START"
  }
}