This operation will create an instalment plan
curl --request POST \
--url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/instalment/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"from": "TRANSACTION",
"transactionId": "12345678",
"description": "Buy now, pay in 2 months",
"planOptions": {
"type": "BUY_NOW_PAY_LATER",
"shift": 2
}
}'
{
"description": "<string>",
"id": "<string>"
}
Basic authentication is used to authenticate towards Enfuce API. It is described in more detail in RFC 7617.
The audit user to log the request
Successful creation of an instalment
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/instalment/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"from": "TRANSACTION",
"transactionId": "12345678",
"description": "Buy now, pay in 2 months",
"planOptions": {
"type": "BUY_NOW_PAY_LATER",
"shift": 2
}
}'
{
"description": "<string>",
"id": "<string>"
}