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"
  }
}