Method: Adyen::API#generate_billet
- Defined in:
- lib/adyen/api.rb
#generate_billet(reference, amount, shopper_name, social_security_number, selected_brand, delivery_date, shopper_statement = nil) ⇒ PaymentService::BilletResponse
Generate a Billet - *Brazillian users only*
Billet (Boleto Bancário), often simply referred to as Boleto, is an offline payment method used in Brazil . The consumer will take the Boleto form to an ATM, bank, an approved facility, or access their online banking system to complete the payment. Once the Boleto is paid, the bank will send Adyen a file confirming that the payment was made, this usually takes one day, but it may occur up to 6 days after the payment. If a Boleto is not paid, the transaction will expire once the expirationDate is reached. For more information check the Adyen API Manual - 7 - Boleto Bancário(page 30)
94 95 96 97 98 99 100 101 102 103 |
# File 'lib/adyen/api.rb', line 94 def generate_billet(reference, amount, shopper_name, , selected_brand, delivery_date, shopper_statement = nil) params = { :reference => reference, :amount => amount, :shopper_name => shopper_name, :social_security_number => , :selected_brand => selected_brand, :delivery_date => delivery_date, :shopper_statement => shopper_statement } PaymentService.new(params).generate_billet end |