Update Payment

The "Update Payment" endpoint is used to update the OrderItems within a Payment. When updating the OrderItems the sum of them must equal sum of the previous OrderItems. This functionality is commonly used to redistribute the payment among different Merchants. The operation can be performed both before and after the payment is marked as COMPLETED, as long as the PaymentOrder to which the Payment belongs has not yet been split.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

PaymentOrderID path param

uuid
required

PaymentID path param

Body Params

Update Payment request body

metadata
object | null

Set of key-value pairs for storing additional information about the Payment

order_items
array of objects | null

Items of purchase

order_items
integer
required
0 to 9223372036854776000

Cost of item given in minor unit of currency (eg. öre for SEK) of the parent payment

uuid | null

Liquidity Account ID (UUID4)

uuid | null

Merchant ID (UUID4)

metadata
object
string
required

Item name

tags
array of strings

Tags used for routing funds

tags
number
required
0 to 99

The items VAT rate

payer
object | null

payer of payment

string | null

Callback for receiving status updates on a Payment

Headers
uuid
required

Tenant ID header

date

API version for the specific endpoint

Responses
204

The Payment was successfully updated

404

PaymentOrder could not be found

Callback
Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json