Handle state updated. If the state transitions back to checkout from processing, any ongoing adyen transaction will be cancelled.

Hook on state changes to cancel ongoing Adyen transactions.

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:

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 (Norce.Checkout.AdyenAdapter.Application.Order.Shipping)
Array of objects (Norce.Checkout.AdyenAdapter.Application.Order.Payment)
object
Array of objects (Norce.Checkout.AdyenAdapter.Application.Order.Consent)
Array of objects (Norce.Checkout.AdyenAdapter.Application.Order.Hook)
object
object
Responses
200

OK

400

Bad Request

404

Not Found

post/api/checkout/v1/callback/orders/{order_id}/payments/{payment_id}/state-updated
Request samples
{
  • "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.