Installment programs
POST/financing/v1/installmentPrograms
When a customer wants to know details of one of previously offered
installment programs use /financing/v1/installmentPrograms resource
with properly filled request that contains at least following data:
- Product code of given installment program
- Price of customer's purchase
If the request was successfully processed, you receive HTTP status code 200 and object of information about specified installment program with at least following information in the response:
- Installment program type
- Installment amount
- Number of installments
- Installment program details
In other cases, you receive one of the following errors:
| Status code | Code | Explanation |
|---|---|---|
| 400 | INVALID_REQUEST | Request was not well formatted (malformed request syntax, size too large, etc.) |
| 422 | UNPROCESSABLE | The request was well-formed but was unable to be followed due to semantic errors |
| 500 | INTERNAL_SERVER_ERROR | Unexpected condition was encountered and no more specific message is suitable |
Calculate installment program detailed information. It returns the installment program that most closely matches specified input.
Request
Responses
- 200
- 201
- 401
- 403
- 404
OK
Created
Unauthorized
Forbidden
Not Found