Handle State changed

State changed.

SecurityBearer
Request
path Parameters
order_id
required
string

Order identifier

payment_id
required
string

Payment identifier

header Parameters
x-merchant
required
string

Merchant identifier.

Example: norce
x-channel
required
string

Channel identifier

Example: 1
Request Body schema: application/json

Updated order

id
string
merchant
string
channel
string
reference
string
created
string <date-time>
lastModified
string <date-time>
object
culture
string
currency
string
country
string
object
Array of objects (Shipping)
Array of objects (Payment)
object
Array of objects (Consent)
Array of objects (Hook)
object
object
Responses
200

OK

400

Bad Request

404

Not Found

post/api/checkout/v1/callback/orders/{order_id}/payments/{payment_id}/state-changed
Request samples
application/json
{
  • "id": "string",
  • "merchant": "string",
  • "channel": "string",
  • "reference": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "lastModified": "2019-08-24T14:15:22Z",
  • "state": {
    },
  • "culture": "string",
  • "currency": "string",
  • "country": "string",
  • "cart": {
    },
  • "shippings": [
    ],
  • "payments": [
    ],
  • "customer": {
    },
  • "consents": [
    ],
  • "hooks": [
    ],
  • "total": {
    },
  • "attributes": {
    }
}
Response samples
application/json
[
  • {
    }
]
Copyright © Norce 2024. All right reserved.