APM Installments

The apm-installments endpoint allows you to retrieve available installment plans for specific Alternative Payment Methods (APMs). This is particularly useful for integrations like NuPay, where you may want to present installment options to the customer before finalizing the payment.

Usage Scenarios

Depending on your integration flow, you will use this endpoint differently:

  • Enrollment Flow: Used when a customer has already enrolled their NuPay account. You’ll need to provide the vaulted_token and the customer id.
  • 2FA Mode (Direct): Used for direct integrations where you collect customer details (email/document) to initiate a two-factor authentication flow.

This endpoint is currently specific to certain APMs. For standard credit card installments, please refer to the Installments Plan documentation.

POST/apm-installments

Retrieve available installment plans for specific Alternative Payment Methods (APMs). This is useful for integrations like NuPay, where you may want to present installment options to the customer before finalizing the payment.

Body application/json

countrystringrequired

ISO 3166-1 alpha-2 country code (e.g., BR).

amountobjectrequired
Show amount properties
currencystringrequired

ISO 4217 currency code.

valuestringrequired

Amount in minor units.

customerobject

Customer data. Can include id or email and document details.

Show customer properties
idstring

WHITELABEL customer ID.

emailstring<email>
documentobject
Show document properties
type"CPF" | "CNPJ"
numberstring
payment_method"NU_PAY" | "NU_PAY_ENROLLMENT" | "APPLE_PAY"required

The alternative payment method to retrieve installments for.

vaulted_tokenstring

Required for enrollment flow.

Response

List of available installment plans.

installmentinteger
amountobject
Show amount properties
currencystring
valuenumber
ratenumber