Creates new credit request for the customer with all necessary data for consumer loan directly from shop’s CRM or ERP, no need to use Leanpay Shop App.
OK – Empty body
-> VENDOR_API_VENDOR_UNKNOWN - Unknown vendor API key; VENDOR_API_VENDOR_TRANSACTION_ID_DUPLICATED - Vendor transaction ID has already been sent before; VENDOR_API_MIN_AMOUNT_EXCEEDED - Amount is lower than allowed minimum; VENDOR_API_MAX_AMOUNT_EXCEEDED - Amount is greater than allowed maximum; VENDOR_API_VALID_UNTIL_ERROR - Valid until date is in the past; VENDOR_WRONG_PRODUCT_CODE - Unknown financial product code;
Internal application error with unknown reason.
Leanpay platform is in maintenance mode.
{- "vendorApiKey": "d6b5b4ed-833b-43e8-ae44-5724b423ee49",
- "vendorTransactionId": 1234567890,
- "amount": "23.59 or 23.6 or 23",
- "validUntil": 1555688766000,
- "vendorProductCode": "a4da54b9-54f0-47db-9898-11244a4c9308",
- "vendorItemDescription": "Laptop computer",
- "customerPhoneNumber": 38640123456,
- "customerEmail": "janez@novak.si",
- "customerFirstName": "Janez",
- "customerLastName": "Novak",
- "customerAddress": "Teslova ulica",
- "customerHouseNumber": 12,
- "customerZip": 1000,
- "customerCity": "Ljubljana"
}