Storefront APICheckout
Get card installment plans
The installment plans the card's issuer really offers for the amount, with the per-installment value and whether it is interest-free. Call it once the shopper has typed the card's first 6 digits, so the picker shows what will actually be charged (an issuer without an interest-free plan for the amount would otherwise apply its default interest).
Path Parameters
store_slug*string
Store slug
Query Parameters
bin*string
The card number's first 6 digits (more are ignored).
amount_cents*integer
Format
int64Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/storefront-api/string/api/payments/installments?bin=string&amount_cents=0"{
"issuer_id": 0,
"options": [
{
"installment_amount": 0.1,
"installment_rate": 0.1,
"installments": 0,
"interest_free": true,
"label": "string",
"total_amount": 0.1
}
],
"payment_method_id": "string"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}