Update payment hook

Responds to changes in norce orders and updates the amount in paypal.

SecurityBearer
Request
path Parameters
order_id
required
string
payment_id
required
string
header Parameters
x-merchant
required
string

Merchant identifier.

Example: norce
x-channel
required
string

Channel identifier

Example: 1
Request Body schema: application/json
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 (Callback)
Array of objects (Hook)
Array of objects (Callback)
object
object
Responses
200

OK

400

Bad Request

404

Not Found

post/api/checkout/v1/callback/orders/{order_id}/payments/{payment_id}/update-payment
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": [
    ],
  • "validations": [
    ],
  • "hooks": [
    ],
  • "notifications": [
    ],
  • "total": {
    },
  • "attributes": {
    }
}
Response samples
application/json
[
  • {
    }
]
Copyright © Norce 2024. All right reserved.