API is based on REST principles. The following interface uses POST. In POST requests content request is usually provided by using UTF-8 encoding.
The request context-type uses “application/x-www-form-urlencoded”.
Get the account by mail
string
string
{ "success": true, "data": [ { "id": null, "orderStr": null, "userId": null, "mail": "apitest@panpay.com", "account": "LT393870010000000134", "partId": null, "accountType": "person", "orgType": null, "applicantPartyId": null, "phone": null, "phoneCountry": null, "enName": null, "cnName": null, "enAddress": null, "cnAddress": null, "idType": null, "identityNumber": null, "cnCity": null, "enCity": null, "postalCode": null, "recCreateTime": null, "country": null, "firstName": null, "lastName": null, "dateOfBirth": null, "stateOrProvince": null, "ltAcctNo": null, "dkGlobalAcctNo": null, "ukLocalAcctNo": null, "ukIbanAcctNo": null, "dkId": null, "ukId": null } ], "code": 0, "msg": null }
Get the balance by accountNumber
string
string
{ "success": true, "data": [ { "EUR": 0.33, "USD": 0, "JPY": 4, "CNY": 0, "GBP": 0.9, "HKD": 1, "AED": 0.9, "AUD": 0.1, "CAD": 0.17, "CHF": 0.01, "ZAR": 0.2, "HUF": 3.1, "CZK": 1.1, "HRK": 1 } ], "code": 0, "msg": null }
Get the trade history by accountNumber, startDate, endDate
string
string
string
{ "success": true, "data": [ { "id": 102048, "orderStr": null, "userId": 80, "phone": "18601697569", "mail": "apitest@panpay.com", "cnName": "panpay", "enName": "panpay", "accountNumber": "LT393870010000000134", "paymentId": "00271061", "type": "CREDIT", "operationType": "INTERNAL_PAYMENT.TRANSFER", "date": "2019-08-13T15:29:04.000+0000", "amount": 0.20, "runningBalance": 10.54, "otherAccountHoldername": "panpay", "otherAccountNumber": "LT393870010000000134", "detail": "exchange", "status": "COMPLETED", "currency": "HKD", "exchangedAmount": 0.03, "exchangedCurrency": "CAD", "exchangeRate": 0.172876, "initiationTime": "2019-08-13T15:29:04.000+0000", "completionTime": "2019-08-13T15:29:05.000+0000", "recCreateTime": "2019-08-14T06:19:54.000+0000", "currencyName": null, "statusName": null }, { "id": 102051, "orderStr": null, "userId": 80, "phone": "18601697569", "mail": "apitest@panpay.com", "cnName": "panpay", "enName": "panpay", "accountNumber": "LT393870010000000134", "paymentId": "00271061", "type": "DEBIT", "operationType": "INTERNAL_PAYMENT.TRANSFER", "date": "2019-08-13T15:29:04.000+0000", "amount": 0.03, "runningBalance": 0.17, "otherAccountHoldername": null, "otherAccountNumber": "LT393870010000000134", "detail": "exchange", "status": "COMPLETED", "currency": "CAD", "exchangedAmount": 0.20, "exchangedCurrency": "HKD", "exchangeRate": 0.172876, "initiationTime": "2019-08-13T15:29:04.000+0000", "completionTime": "2019-08-13T15:29:05.000+0000", "recCreateTime": "2019-08-14T06:19:54.000+0000", "currencyName": null, "statusName": null } ], "code": 0, "msg": null }