def payments
      reset_errors!
      
      response = Http.get("/invoices/#{uuid}/payments/", domain.token)
      
      return [] if response.code != 200
      
      MultiJson.decode(response.body)
    end
def payments
      reset_errors!
      
      response = Http.get("/invoices/#{uuid}/payments/", domain.token)
      
      return [] if response.code != 200
      
      MultiJson.decode(response.body)
    end
List all payments for an invoice

 API method: <tt>GET /invoices/:uuid/payments/</tt>

 API documentation: https://charging.financeconnect.com.br/static/docs/charges.html#get-invoices-uuid-payments