---
title: "Get Details of a Completed Payment Form"
method: GET
path: "/v2/moneyins/paymentform/{formid}/completed"
tags: ["MoneyIns | Pay by Link"]
---

# Get Details of a Completed Payment Form

`GET /v2/moneyins/paymentform/{formid}/completed`

This method lets you to retreive the status of a <b>completed (or filled) payment form</b><br />
Scenario
<ul><li>Using the POST /moneyins/card/paymentform method, you have generated a re-usable Payment Form (with the form Id is for example 579c7def4bb0411da294d9b57c2c1323)</li><li>Some clients filled the form and make payment.</li><li>Each time a client completes the form and click on the <b>Accept and Pay</b> button, Lemonway will store the completed form and generate a new id for it, for example 7e98be392a5e45f6bc357a9ab8c623d2</li><li>The initial status of the <b>completed form</b> is pending. When client finish the payment process, it will switch to PAID. It could also switch to CANCEL or ERROR.</li><li>In this example, the completed form 7e98.. was created from the parent form 579c..The form 579c.. is reusable, which means it can be completed several time by different clients, so it could have many completed version.This function allows you to retreive the status of a the filled form via its id (7e98..).</li></ul>

## Path parameters

- `formid` string, required

## Headers

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

## Response `200`

OK

- GetCompletedPaymentFormOutput
  - `form` PaymentFormDetails
    - `parentId` string
    - `parentComment` string
    - `amountTot` string
    - `status` string
    - `utcDate` integer — UTC Unix Timestamp
    - `created` integer — UTC Unix Timestamp
    - `id` string — Payment Form ID
    - `optId` string — Optional identity of the payment form. You should not use special character here.
    - `accountPayer` string — Payer Account If this field is filled then the money reaches this wallet before arriving at the beneficiary wallet (via a transfer wallet to wallet) note: Don't put the <b>SC Wallet</b> here, it won't work. You cannot credit the <b>SC Wallet</b> with a credit card.
    - `accountReceiver` string — Beneficiary Account if this field is not filled then the end-user must to fill its value on the payment form. We recommend you to always fill it instead of your end-user. note: Don't put the <b>SC Wallet</b> here, it won't work. You cannot credit the <b>SC Wallet</b> with a credit card.
    - `comment` string
    - `returnUrl` string — URL redirection after the payment procedure is successfully finished
    - `cancelUrl` string — URL redirection after the payment procedure is cancelled
    - `errorUrl` string — URL redirection after the payment procedure is failed
    - `firstNamePayer` string — Payer's First Name If this field is not filled then the end-user have to fill it in the payment form.
    - `lastNamePayer` string — Payer's Last Name If this field is not filled then the end-user have to fill it in the payment form.
    - `emailPayer` string — Payer's Email If this field is not filled then the end-user have to fill it in the payment form.
  - `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)
