Palbase Payments · API
POST
/payments/installmentsLook up BIN and installments
Queries the active channel provider for card BIN metadata and available installment options for the given amount and currency.
Called by your app, with the publishable key; or a signed-in user of your app, with their token and the publishable key; or your server, with the project's secret key.
Request body
amountinteger (int64) · requiredPayment amount in minor units.binstring · optionalFirst 6-8 digits of the card (BIN).channelstring · optionalOptional explicit channel override.currencystring · required3-letter ISO 4217 currency code.method_idstring · optionalSaved payment method UUID (alternative to bin).curl
curl -X POST "https://<your-ref>.palbase.studio/payments/installments" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"amount":0,"currency":"string"}'Responses
200OK
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation LookupInstallments of payments's contract.