Conekta::PaymentMethodBnplRequest

August 12, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
typeStringType of the payment method
cancel_urlStringURL to redirect the customer after a canceled payment
can_not_expireBooleanIndicates if the payment method can not expire
failure_urlStringURL to redirect the customer after a failed payment
product_typeStringProduct type of the payment method, use for the payment method to know the product type
success_urlStringURL to redirect the customer after a successful payment

Example

require 'conekta'

instance = Conekta::PaymentMethodBnplRequest.new(
  type: bnpl,
  cancel_url: https://example.com/cancel,
  can_not_expire: true,
  failure_url: https://example.com/failure,
  product_type: aplazo_bnpl,
  success_url: https://example.com/success
)