Aurax BNPL BFF Service
number · decimal · requiredstring · requiredstring · requiredinteger · int32 · requirednumber · decimal · requiredinteger · int32 · required
string · date-time · requirednumber · decimalnumber · decimalstring · date-timeinteger · int32integer · int32number · decimal
payback-plans
Operations addressed under /payback-plans — 2 operations.
calculate generic payback plan
POST
https://dg-sandbox.dgpays.com/aurax-bnpl-bff-service
/api/payback-plans/calculate
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Invokes the aurax-bnpl-bff-service-dynamic-calculate-generic-payback-plan service definition through POST /api/payback-plans/calculate.
Request and response fields are declared on the routing target calculate-generic-payback-plan; this entry declares none of its own.
Response body, read from the service source
The route declares its response as BasePaybackPlanDto.
| Field | Declared type | Nullable |
|---|---|---|
PaymentDate | DateOnly | no |
FirstInstallmentDate | DateOnly | no |
TotalPaymentAmount | decimal | no |
IRR | decimal | no |
XIRR | decimal | no |
EffectiveInterestRate | decimal | no |
CompoundInterestRate | decimal | no |
AverageMaturity | int | no |
Installments | List<BaseInstallment> (collection) | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_PYBCKPLAN_18 | 400 | PAYBACK_PLAN_INSTALLMENT_DATE_GREATER_THAN_PAYMENT_DATE | The installment dates cannot be less than the payment date. |
ERR_PYBCKPLAN_9 | 400 | PAYBACK_PLAN_COMPATIBLE_INSTALLMENT_COUNT_CONTROL | The number of installments in the installment array must be compatible with the installment count. |
calculate generic payback plan › Request Body
amountdayDifferentInstallmentdayInYearCountinstallmentCountmonthlyRepaymentRatepaybackPlanMethodPermitted values — validated against the payback_plan_method parameter.
| Value | Meaning |
|---|---|
11 | Irregular Installment |
2 | Equal Installment |
4 | Variable Interest |
10 | Balloon Installment |
12 | Spot Loan |
paymentDateobject[] · required
annualInterestRateexpenseAmountfirstInstallmentDateobject[]
postponedInstallmentCounttermInDaystotalExpenseAmountcalculate generic payback plan › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
No data returned