Create Order Invoice

Creates a new order and sends the invoice via specified comm method (phone, email or both)

SecurityLimepay-SecretKey
Request
Request Body schema: application/json
sendSms
boolean

Whether to send the payment link via SMS

sendEmail
boolean

Whether to send the payment link via email

required
object (MerchantOrderRequest)

Details of the order

Responses
200
400
401
403
404
405
406
409
422
429
500
503
post/orders/invoices
Request samples
application/json
{
  • "sendSms": true,
  • "sendEmail": true,
  • "orderRequest": {
    }
}
Response samples
application/json
{
  • "order": {
    },
  • "token": "string",
  • "magicLink": "string"
}
Copyright © April Solutions 2023. All right reserved.