---
title: "Create New Pending Payment"
method: POST
path: "/v2/moneyins/buynowpaylater/init"
tags: ["MoneyIns | BNPL"]
---

# Create New Pending Payment

`POST /v2/moneyins/buynowpaylater/init`

Depending on your activated payment plans this call will let you setup a new payment plan.

## Headers

- `Authorization` string, required
- `PSU-Accept-Language` string
- `PSU-IP-Address` string, required
- `PSU-User-Agent` string

## Request body

- CreateBnplPaymentInput
  - `paymentPlanId` integer — Payment Plan ID
  - `captureMode` string — Defines if the payment should be captured right away or if the capture should be deferred. Possible values: `Automatic` and `Manual`. Default is set to 'Automatic'.
  - `delivery` BnplDelivery
    - `deliveryMode` string — Possible values: `CollectionOfTheGoodsInTheMerchantStore` `CollectionInAThirdPartyPoint` `DeliveryToCustomerAddress`
    - `expressDelivery` boolean
    - `deliveryAddress` BnplAddress
      - `street` string
      - `city` string
      - `postCode` string
      - `country` string
    - `deliveryPointName` string — Pickup name or recipient name. Mandatory only if DeliveryMode is not "DeliveryToCustomerAddress".
  - `items` BnplPurchaseItem[] — Possible values: `PhysicalGood` `Discount` `ShippingFee` `DigitalGood` `ExternalPayment` `Insurance`
    - `type` string
    - `description` string
    - `reference` string
    - `quantity` integer
    - `unitAmount` integer
    - `merchantAccountId` string
  - `customer` Customer
    - `accountId` string, required — Client account Id.
    - `civility` string — Client civility. Possible values: `Mr` and `Ms`
    - `firstName` string, required — Client first name.
    - `lastName` string, required — Client last name.
    - `birthDate` string — Client birth date.
    - `mobileNumber` string — Client phone number.
    - `email` string — Client email.
    - `taxIdentificationNumber` string — Client tax identification number.
    - `billingAddress` BnplAddress
      - `street` string
      - `city` string
      - `postCode` string
      - `country` string
  - `returnUrl` string — Return success url
  - `errorUrl` string — Return error url
  - `cancelUrl` string — Return cancel url
  - `reference` string — Unique ID of the call, generated by your server. This ID can be used as a search field when looking for operation details
  - `accountId` string, required — Payment Account ID to Credit
  - `totalAmount` integer, required — Amount to Debit Amounts are given as integer numbers in cents
  - `commissionAmount` integer — Your Fee Amounts are given as integer numbers in cents
  - `comment` string — Comment Regarding the Transaction
  - `autoCommission` boolean — If true: 1. [amountCom] will be ignored and will be replaced with Lemonway's fee 2. You will not receive any fee

## Response `200`

OK

- CreateBnplPaymentOutput
  - `id` integer — Transaction ID.
  - `redirectUrl` string — Payment page URL.
  - `error` Error
    - `code` integer
    - `message` string
    - `psp` PSP
      - `message` string — Get the Error Message from PSP

---

[API](https://skmtc.net/lemonway/apis/account-onboarding-management-api.md) · [All operations](https://skmtc.net/lemonway/apis/account-onboarding-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lemonway/account-onboarding-management-api/revisions/73309fe68e2d/schema)
