Partial payments

Core-commerce has support for partial payments on orders. This system can be used for implementing (for example) "deposit" payments or payments with "loyalty" where customers can pay partly with Loyalty points.

Partial payments integration flow

Partial payments flow

Relevant endpoints

Webhooks

See the Webhooks for the Payment added and Payment changed event.

Start payment

POST /payment/[paymentId]/start supports the following QueryString-parameters:

  • locale
  • callbackUrl (returnUrl for webshop)
  • paymentMethodId
  • paymentMethodOptionId

When mapping the payment to a payment-request for the specific PSP, the OrderAttributes are added within Core-commerce so that all payments work with the same data. Do not add these parameters to the payment call parameters