v1

latestOpenAPI 3.0.02026-07-2691259477.2 KB
Accounts | Update

Update Payment Account Status

Allows certain payment account statuses to be updated.

  • To close an account (status 12), the account must have zero balance.
  • An account status can not be changed to bypass the KYC process. KYC statuses are updated by Lemonway.
  • If an account is closed in status 6 (KYC 2) and you would like to reopen it, you must send a support request to Lemonway.

You can view all account statues here.

Note: This feature is subject to your contract.

put/v2/accounts/kycstatus/{accountid}

Path parameters

accountidstring required

Account ID

Headers

Authorizationstring required

Authorization bearer (OAuth 2)

PSU-Accept-Languagestring

Response language accepted by final client (PSU). English by default

PSU-IP-Addressstring required

IP address of the final client (PSU).

PSU-User-Agentstring

User-agent of the final client (PSU).

Request body

status0 | 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16

New payment account status<br/>0 = Unknown.<br/>1 = Not Opened.<br/>2 = Opened, need more documents.<br/>3 = Opened, document rejected.<br/>5 = Opened, KYC1.<br/>6 = Opened, KYC2.<br/>7 = Opened, KYC3.<br/>8 = Opened, document expired.<br/>9 = Frozen (by backoffice).<br/>10 = Blocked.<br/>11 = Locked (by Web Service).<br/>12 = Closed.<br/>13 = Pending KYC3.<br/>14 = One-time customer.<br/>15 = CGE.<br/>16 = Technical Payment Account.<br/>

Example request

{
  "status": 6
}

Response

OK