Notifications

order/refund status change

Order Status Change Notification

post/your-notify-url

Request

Headers

Content-Typestring

Content type

Request body

OR
OR

Example request

{
  "order": {
    "shippingMethod": {
      "country": "PL",
      "name": "parcel"
    },
    "orderId": "VVLR1HXK2S160929GUEST000P01",
    "extOrderId": "343242",
    "orderCreateDate": "2023-01-03T14:58:17.443+01:00",
    "notifyUrl": "http://localhost/OrderNotify/",
    "customerIp": "127.0.0.1",
    "merchantPosId": "145227",
    "description": "New Order",
    "additionalDescription": "New Order",
    "currencyCode": "PLN",
    "totalAmount": "3200",
    "capturedAmount": "3200",
    "buyer": {
      "email": "email@email.com",
      "phone": "+48 225108001",
      "firstName": "John",
      "lastName": "Doe",
      "language": "pl",
      "birthDate": "2006-12-03T00:00:00.000+01:00",
      "delivery": {
        "state": "30"
      }
    },
    "products": [
      {
        "name": "My product",
        "virtual": true
      }
    ],
    "shoppingCarts": [
      {
        "extCustomerId": "ext-customer-1",
        "amount": 24950,
        "shippingMethods": [
          {
            "country": "PL",
            "price": 250,
            "name": "Postal package"
          }
        ],
        "products": [
          {
            "name": "My product",
            "virtual": true
          }
        ]
      }
    ],
    "merchantFunds": [
      {
        "amount": "500"
      }
    ],
    "status": "COMPLETED"
  },
  "properties": [
    {
      "name": "PAYMENT_ID",
      "value": "1234567890"
    }
  ]
}

Response

You should respond with HTTP 200 status code to acknowledge that you have received the notification. Otherwise, PayU will retry sending the notification with increasing intervals.

Changes

No recorded changes to this operation across all 1 revision of this API.