orderPaymentProposals
Type: Query
Optional. Shows which pay-later (credit) options Sevi would offer this buyer for this order, without creating the order. Use it if you want to show credit options in your own checkout before sending the buyer to the payment page. The payment page shows the same options, so most integrations do not need this query.
The input is the same OrderInput as orderCreate. The result is specific to the buyer (identified by shipping.phoneNumber / customerId) and depends on their credit limit, outstanding balance and history — it can change between calls.
Request
query OrderPaymentProposals($input: OrderInput!) {
orderPaymentProposals(input: $input) {
paymentProposals {
creditConfigurationId
name
status
withinBounderies
message
amount
payNowAmount
payLaterAmount
durationInDays
installmentsCount
installmentAmount
seviFeesAmount
}
}
}
Reading the result
Each entry is one credit option:
| Field | Meaning |
|---|---|
withinBounderies | true when the buyer can use this option for this order amount |
message | Why an option is not available (e.g. limit too low, onboarding needed) |
payNowAmount | Deposit the buyer pays upfront |
payLaterAmount | Amount financed by Sevi |
durationInDays, installmentsCount, installmentAmount | Repayment schedule |
seviFeesAmount | Credit fee paid by the buyer |
Whatever option the buyer chooses, your side of the flow is the same: you receive the PAID webhook, deliver, and get the full order amount credited to your wallet on delivery.