diff --git a/examples/marketplace/payment-with-pre-authorization.rb b/examples/marketplace/payment-with-pre-authorization.rb index 54d9e91..2e6c8ee 100644 --- a/examples/marketplace/payment-with-pre-authorization.rb +++ b/examples/marketplace/payment-with-pre-authorization.rb @@ -79,7 +79,7 @@ }) # Capture pre authorized payment -api.payment.catpure(payment.id) +api.payment.capture(payment.id) # TIP: To get your application synchronized to Moip's platform, # you should have a route that handles Webhooks.