---
title: "(Deprecated) Initialize MB WAY Payment"
method: POST
path: "/v2/moneyins/mbway/init"
tags: ["MoneyIns | Local Payments"]
---

# (Deprecated) Initialize MB WAY Payment

`POST /v2/moneyins/mbway/init`

Payment process:
<ul><li>You call the Lemonway DirectKit API, provide a phone number to initialize the payment</li><li>The payment order is sent to the customer's smartphone</li><li>The customer pays with their smartphone</li><li>You will be notified after the payment is settled</li></ul>

## Headers

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

## Request body

- MoneyInMbwayInitInput
  - `phone` string — Phone Final Client Phone Numbers
  - `returnUrl` string — Your site returns the URL, called to terminate the operation and on which the callback will be sent, with data in POST parameters. This URL must contain a unique ID so you know which operation is related to the return.
  - `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

- MoneyInMbwayInitOutput
  - `euPagoInit` EuPagoInit
    - `id` integer — Transaction ID. You require this ID to confirm the transaction
    - `reference` string — References in Format: <b>entitades.referencias</b>
  - `error` Error
    - `code` integer
    - `message` string
    - `psp` PSP
      - `message` string — Get the Error Message from PSP

## Other responses

- `401` — Unauthorized
- `500` — InternalServerError

---

[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)
