v1
latestOpenAPI 3.0.02026-07-2691259477.2 KBMoneyIns | BNPL
Create New Pending Payment
Depending on your activated payment plans this call will let you setup a new payment plan.
post/v2/moneyins/buynowpaylater/init
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
Example request
{
"paymentPlanId": 1,
"delivery": {
"deliveryMode": "DeliveryToCustomerAddress",
"expressDelivery": true,
"deliveryAddress": {
"street": "8 rue du sentier",
"city": "Paris",
"postCode": "75003",
"country": "FRA"
}
},
"items": [
{
"type": "PhysicalGood",
"description": "Zesty",
"reference": "Lemon",
"quantity": 1,
"unitAmount": 200,
"merchantAccountId": "fc516a3d-3bca-438b-af45-0f4a6c7ec804"
},
{
"type": "PhysicalGood",
"description": "Pressé",
"reference": "Citron",
"quantity": 2,
"unitAmount": 400,
"merchantAccountId": "57d495c7-b432-449f-9e58-85ebb4477087"
}
],
"customer": {
"accountId": "AC4531686",
"civility": "Mr",
"firstName": "Lemon",
"lastName": "Way",
"birthDate": "1970-01-01",
"mobileNumber": "0784177684",
"email": "lemon@way.com",
"billingAddress": {
"street": "8 rue du sentier",
"city": "Paris",
"postCode": "75003",
"country": "FRA"
}
},
"returnUrl": "https://www.yoursite.com/thankyou.php",
"errorUrl": "https://www.yoursite.com/oops.php",
"cancelUrl": "https://www.yoursite.com/seeYouNextTime.php",
"reference": "Dze8778",
"accountId": "33612345678",
"totalAmount": 220,
"commissionAmount": 1,
"comment": "Order number 2457765AX2",
"autoCommission": false
}Response
OK