Invoice
Create a new user
POST /v1/form/invoice
Note that you can only request an invoice if the eService form has been completed
Headers
Name
Value
Content-Type
application/json
CLIENT_ID
<client id>
Body
Name
Type
Description
eServiceId
string
ID of the eService
refId
number
Reference id of the application
Response
{
"status": "SUCCESS",
"message": null,
"invoice": {
"title": "Question Engine Test - 2024",
"shoppingCartId": "6629ab68e925e88bbdca6e96",
"couponCode": null,
"cartItems": [],
"quantity": 1,
"currency": "XOF",
"eServicePrice": 21000.0,
"deliveryPrice": 0.0,
"subTotal": 21000.0,
"discount": 0.0,
"totalServiceFee": 0.0,
"feeDiscount": 0.0,
"totalCost": 21000.0
},
"selectedPayment": "EWallet",
"paymentOptions": [
{
"id": "657292e8d2ac755aa64d124f",
"name": "EWallet",
"displayName": "Portefeuille électronique Rahisi",
"category": "Payment",
"logo": ""
}
]
}{
"error": {
"code": "invalid_request_error",
"message": "record SLH-4UMVYDLEM48M-t was not found"
}
}Last updated